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 SharePoint 2013 designer to work with SharePoint 2016. We can use SharePoint designer 2013 to customize SharePoint sites, Workflow development etc.
After installing SharePoin 2016
, if you open SharePoint designer and try to create a worklow then you can see only 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
- 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 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 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/"
When you run this command if you got the below error as:
Register-SPWorkflowService : Workflow XAML failed calidation due to the following error:
Invalid type(s) 'Micosoft.Activities.CacheScope'...
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 SharePoint 2013 platform type as shown in the fig below:
Hope this will be helpful.