sharepoint server 2013 workflows

Post on 18-Nov-2014

6.480 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

Speakers: Saša Tomičić, Ivan Popek; This session will introduce an interesting set of new features and capabilities of the SharePoint Server 2013 workflow engine powered by .NET Framework 4.5. We will show which platforms you can use to develop your workflows and show the SharePoint Designer workflow enhancements. Beside that you will see new Windows Azure Workflow capabilities and, last but not least, a few Windows PowerShell cmdlets that manage workflow.

TRANSCRIPT

SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 11/28/2012

SharePoint Server 2013 WorkflowsSAŠA TOMIČIĆ, EKOBITIVAN POPEK, EKOBIT

sponsors

AGENDA• What’s new in SharePoint 2013 workflow• Architecture• Workflow development with Visual Studio 2012• SharePoint Designer 2013 workflows• Demo: developing SharePoint Designer 2013 workflow

KEY INVESTMENT AREAS

AccessWorkflow

SharePoint Client Side Object Model

Office and SharePoint Store

Apps and the Cloud App Model

SharePoint Server Side Object Model

Workflow

WHAT’S NEW IN SHAREPOINT 2013 WORKFLOW

Cloud-ready workflow that fully integrates with the new SharePoint app model

Do more with SharePoint Designer and declarative workflow

Run on newest workflow hosting technology for better scale and management of workflow processing

UnboundedConnectedExpressive

ARCHITECTURE

Sharing

ContentEvents People

Vis

ual S

tud

io

Sh

are

Poin

t D

esig

ner

SharePoint2010 WF

_API (REST OM)

Workflow Services Manager

Service Bus

Instances Interop

Deployment

Messaging

WF Service Application Proxy

Workflow Manager

OAuth

Access Control

Work

flow

Clien

t

APP HOSTING

App Web (from WSP)

HostwebSharePoint-hosted

AppReuse (lists, out-of-box web

parts)Client side technologies and

declarative workflows

Provider-hosted App

“Bring your own server hosting infrastructure”

SharePoint

Web

Get remote events from SharePoint Use CSOM/REST + OAuth

Cloud-hosted apps

Your Hosted

Site

Auto-hosted AppWindows Azure + SQL

Azure provisioned automatically as apps

are installed

Azure SharePoint Web

WORKFLOW DEVELOPMENT WITH VS 2012

Workflow object model

Workflowauthoring

Workflow within apps

WORKFLOWS WITHIN APPSSharePoint-hosted apps

Low barrier to entryInherent multi-tenancy and isolationWorkflow is the middle tier

Cloud-hosted apps

Full power of the web – choose your infrastructureWorkflow is part of the middle tierFor business process management

SharePoint Web

App Web

SharePoint Web

App Web

Azure

Your Hosted Site

SharePoint Web

App Web

Lists and other data

Lists and other data

HTML / JS UI

Workflow

Your Hosted App Logic

Other Resources e.g. CRM

• Declarative Workflows• Better tooling• Directly leverage Workflow Foundation 4.5• Custom Activities

WORKFLOW AUTHORING

WORKFLOW OBJECT MODEL

Workflow Services Manager

Deployment

Service

InstanceService

Subscription

Service

MessagingService

InteropService

function initWorkflowDeploymentService () { _wds = _wsm.getWorkflowDeploymentService(); _hostCtx.load(_wds); _hostCtx.executeQueryAsync( validateWorkflowDefinition, function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()); } );}

function validateWorkflowDefinition() { _result = _wds.validateActivity(textArea.value); _hostCtx.executeQueryAsync( function () {}, function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()); } );}

SAMPLE CODE

function initWorkflowServiceManager() { _wsm = SP.WorkflowServices.WorkflowServiceManager.newObject(_hostCtx, _hostWeb); _hostCtx.load(_wsm); _hostCtx.executeQueryAsync(initWorkflowDeploymentService);}

WHAT’S NEW IN SHAREPOINT DESIGNER 2013

Workflow Infrastructure

Workflow Designers Workflow Actions

BIG NEW FEATURES

Stages!

Do “App-Level” operations with App Step

Rapid design with the Visual and Text-Based Designers

Copy & Paste in the Text-Based Designer

New “Assign A Task” & “Start a Task Process” actions

Enhanced parallel blocks

Looping! Enhanced portability & packaging through WSP and VSDX files

Support classic 2010 workflow type and interoperability

Complex data types with ‘Dictionary’ variables

Full integration with Project Server workflows

Leverage web services(HTTP/REST)

BIG NEW FEATURES

New “Assign A Task” & “Start a Task Process” actions

Enhanced portability & packaging through WSP and VSDX files

Support classic 2010 workflow type and interoperability

Do “App-Level” operations with App Step

Enhanced parallel blocks

Full integration with Project Server workflows

NEARLY 50 NEW/IMPROVED FEATURES AND ACTIONS THIS RELEASE!!!!

SHAREPOINT DESIGNER WORKFLOW

WORKFLOW MANAGER INSTALLING AND PAIRING

Available via Web Platform Installer or Download CenterWorkflow Manager 1.0Workflow Manager Client 1.0

Pairing PowerShell CommandFarm ScopedRequires Workflow Manager Client on SharePoint machineRegister-SPWorkflowService –SPSite “https://{rootUrl}” –WorkflowHostUri “https://{WfsvcVipDnName}:12290”

Strictly for developer and trial environments, it is possible to configure without SSL in SharePoint (not default)

Switch: -AllowOAuthHttp

Workflow Manager HTTP port: 12291

Note:

OAuth requires SSL in production.

Set Workflow Service Uri to DNS hostname of Virtual IP.

questions?http://www.SharedPointOfView.com

http://blog.JohnsWorkshop.net

@Sasa_Tomicic // @IvanPopek

thank you.

SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 11/28/2012

top related