In this post, we will discuss how we can configure workflow manager for SharePoint 2016 in windows server 2012 R2 machine. There is no difference between installing workflow manager in SharePoint 2013 and SharePoint 2016. Because in SharePoint 2016 there is no new version of SharePoint designer. You can use the SharePoint 2013 designer to work with SharePoint 2016. We can use SharePoint designer 2013 to customize SharePoint sites, Workflow development etc.
– App Step in SharePoint 2013 Designer Workflow
After installing SharePoint 2016, if you open SharePoint designer and try to create a workflow then you can see only the SharePoint 2010 Workflow Platform Type as shown in the fig below:
Follow below steps to install workflow manager in SharePoint 2016:
– First, download and install web platform installer from MSDN site.
– Then Download and Install Workflow Manager 1.0 from Microsoft URL.
– Once you click on I Accept button as shown in the fig below:
– Then it will install various components like below:
Once the installation (Workflow Manager 1.0) over then it will ask to configure Workflow manager. Click on the Continue button to configure the workflow manager.
Then in the workflow manager configuration wizard, click on Configure Workflow Manager with Default Settings (Recommended) as shown in the fig below:
Then in the New Farm Configuration wizard, then it will auto-populate SQL Server Instance and then Configure Service Account. Give password. And then Allow Workflow management over HTTP on this computer. And Enable firewall rules on this computer. Sin the Certificate Generation Key, put a key as shown in the fig below:
Then it will display Summary as shown in the fig below. Then click on the right button as shown in the fig below:
It will display Configuration progress as shown in the fig below:
Once the configuration progress completes, then it will display in a wizard like below:
Then we need to use PowerShell to Register workflow service to the site collection. Below is the PowerShell command.
Register-SPWorkflowService -SPSite “http://mypc/sites/MySP2016SiteCollection/” -WorkflowHostUri “http://localhost:12291” -AllowOAuthHttp -Force
When you run this command if you got the below error as:
Register-SPWorkflowService: Workflow XAML failed validation due to the following error:
Invalid type(s) ‘Microsoft.Activities.CacheScope’…
Then follow this article to resolve the above issue.
After resolving this issue, run the above command and then it will register the workflow service successfully. Then to verify if the workflow is successfully registered, Open SharePoint 2013 central administration and then click on Manage service applications which is under Application Management as shown in the fig below:
Once it will register successfully, open SharePoint designer and then you can be able to see the SharePoint 2013 platform type as shown in the fig below:
Hope this will be helpful.
-: FREE PDF e-Book Download :-
51 JSOM Examples in SharePoint Online
You May Also like the Following SharePoint Online Tutorials: