Workflow Manager
Register Workflow Manager with SharePoint 2013
This article describes how to register the SharePoint 2013 Workflow platform to work with SharePoint Server.
I Assumes you have already installed the Workflow Manager product and configured the Workflow Manager and Service Bus farms using either the Configuration Wizard or through PowerShell. Here, we shall go ahead and set SharePoint up to use the Workflow farm.
The Register-SPWorkflowService cmdlet will be used to configure the SharePoint host to use a workflow service by using the SPSite and WorkflowHostUri parameters.
Syntax
Register-SPWorkflowService -SPSite <SPSitePipeBind> -WorkflowHostUri <String> [-AllowOAuthHttp <SwitchParameter>] [-AssignmentCollection <SPAssignmentCollection>] [-Force <SwitchParameter>] [-PartitionMode <SwitchParameter>] [-ScopeName <String>]
From <https://technet.microsoft.com/en-gb/library/jj663115.aspx>
Example
The following script will be used for http communication,
Register-SPWorkflowService -SPSite “http://SharePoint.Contoso.com” -WorkflowHostUri “http://WorkFlowManager.Contoso.com:12291/” -verbose -force
The following script will be used for https communication,
Register-SPWorkflowService -SPSite “https://SharePoint.Contoso.com” -WorkflowHostUri “https://WorkFlowManager.Contoso.com:12290/” -verbose -force
Validation
Once the above script is executed the following script can be used to validate the registration,
[Void][System.Reflection.Assembly]::loadwithpartialname(“Microsoft.SharePoint.WorkflowServicesBase”)
$web = Get-SPSite -Limit 1 -WarningAction SilentlyContinue | Get-SPWeb
$wfm = New-Object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
$wfm | SELECT *
MS Reference:
- Install and configure workflow for SharePoint Server 2013 This article describes how to install and configure the SharePoint 2013 Workflow platform to work with SharePoint Server.
- Install Workflow Manager certificates in SharePoint Server 2013 Secure Sockets Layer (SSL) certificates are used to provide encrypted communication between SharePoint Server 2013 and Workflow Manager. This article describes how to install the SSL certificates.
- Update Workflow in SharePoint Server 2013 This article describes the process for updating Workflow Manager and SharePoint Server with Cumulative Updates.
- Video series: Install and configure Workflow in SharePoint Server 2013 This article contains a six-part series that walks through the process of installing and configuring the SharePoint 2013 Workflow Platform by using Secure Sockets Layer (SSL).