You are on page 1of 15

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Khalil-Kothia.com

SharePoint 2013

WORKFLOW
What is Workflow?
Allows to automate business process. It is made of a set of activities or at least a single activity.
Whats the history of Workflow?
SP 2007
Introduced in SP 2007 in Framework 3.0
Ready for use with couple of installation, and not much configuration
SP 2010
Updated with Framework 3.5 SP1
Included : Site and SP Designer partial compatible workflow
Allows to import workflow from Visio 2010 into SP Designer
Can be developed using visual studio programmatically.
Workflow developed using VS work for on-premise.
SP2013
Flexible enough to manage deployed/running workflow
Can be hosted on Office 365
Quick development and deployment
Supports backward compatibility.

SharePoint 2013

Khalil-Kothia.com

WORKFLOW
How does Workflow works?
When you run a workflow instance, you load the workflow definition, provide some input arguments, and allocate
a thread for executing that workflow instance.

Load WF
Definition

Input
Arguments

Allocate
Thread

Khalil-Kothia.com

SharePoint 2013

WORKFLOW
What is Workflow Manager 1.0 ?
Workflow Manager servers to the SharePoint and acts as a workflow service provider. It is an external tool for
SharePoint. Different approach to manage workflow in 2013 compare to 2010. Workflow Manager acts as a host for running
workflows. It supports only declarative workflow not programmatic.
What is prerequisite for Workflow Manager 1.0?
Its needs a User Profile Service Application running on SharePoint 2013 Server.
How does Workflow Manager communicates with SharePoint 2013?
REST API, Authenticated using Oauth, S2S

Khalil-Kothia.com

WORKFLOW
Workflow Manager Architecture

SharePoint 2013

Khalil-Kothia.com

SharePoint 2013

WORKFLOW
How workflow works?
Whenever an event occurs for Workflow Manager, such as itemAdded or itemUpdated, workflow service application
proxy will inform Workflow Manager using the Service Bus based on event publish/subscribe model.
What is publish/subscribe model?
if an event of interest for multiple target workflow instances occurs on the SharePoint side, the communication
channel between SharePoint and Workflow Manager will deliver only one event notification.
What is Workflow Definition?
Business logic which is created in series of activities to be performed.

What is Workflow Association?


Workflow Definition is linked to List, Library or Site. Name of the workflow, activities associated with workflow,
how workflow can be started (automatic, manual)

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager 1.0 : Online

http://go.microsoft.com/fwlink/?LinkID=252092

http://go.microsoft.com/fwlink/?LinkID=252092

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager 1.0

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager 1.0

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Configure Workflow Manager 1.0

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Configure Workflow Manager 1.0

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Configure Workflow Manager 1.0

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager Client

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager Client

PS C:\Users\Administrator> Register-SPWorkflowService -spsite "http://spserver/s


ites/SPTeam" -WorkflowHostUri "http://Win-2.khalilkothia.com:12291/" AllowOAuthHttp Force
Get-WFFarm

SharePoint 2013

Khalil-Kothia.com

WORKFLOW

Install Workflow Manager 1.0 : Offline

Download WebPICmd : http://go.microsoft.com/fwlink/?LinkId=233753

Open PowerShell command prompt


Go to the directory where WebPIcmd is downloaded
Run following command in Powershell (Run as Administraor)
WebPIcmd /offline /Products:WorkflowManager /path:D:\WMOff
Run each setup file in the folder on SharePoint Farm Server

You might also like