In this tutorial, we will discuss how to install and configure workflow manager SharePoint 2016 step by step.
SharePoint Tutorial Contents
- Install and configure workflow manager SharePoint 2016 step by step
- Download and Install Workflow Manager SharePoint 2016
- Configure Workflow Manager SharePoint 2016
- Register Workflow Service to SharePoint 2016 Site Collection
- This computer is part of a farm error while uninstalling workflow manager 1.0 in SharePoint 2016/2013
There is no difference between installing the workflow manager 1.0 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 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 the below article to resolve the above issue.
- Register-SPWorkflowService Workflow XAML failed validation due to the following errors error while registering workflow service SharePoint 2016
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:
This is how to install workflow manager sharepoint 2016.
This SharePoint workflow tutorial explains how to solve error This computer is part of a farm. To uninstall, first, leave the farm either using Leave from farm option in Configuration Wizard or Remove-WFHost cmd-let in PowerShell. The error comes while uninstalling workflow manager in SharePoint 2016/2013.
When I am trying to uninstall workflow manager 1.0, it shows an error message like “This computer is part of the farm. To Uninstall, first, leave the farm either using ‘Leave from Farm’ option in the Configuration Wizard or Remove-WFHost cmd-let in PowerShell.“
When I clicked on uninstall, it will show error message like as I shown below.
See the error here.
For removing the ‘Leave from farm’, open window PowerShell as administrator and type this command:
PS G:\Users\Administrator> Remove-WFHost
Next press enter then the component is removed. Enter a command as shown below.
After completing in Windows PowerShell, coming back to uninstalling the workflow manager 1.0 control-panel -> program and feature, here click on Uninstall a program.
Now right click on workflow manager 1.0, click on Uninstall then it will be uninstalled successfully without giving an error.
You may like following SharePoint 2016 workflow tutorials:
- SharePoint designer workflow: Create Laptop Request Approval Workflow
- SharePoint designer 2013 Workflow: Assign task to a group using Assign a task workflow action
- SharePoint Designer 2013 Workflow: Create List Item Action with Example
- Register SPWorkflowService Failed to query the OAuth S2S metadata endpoint at URI error while configuring workflow manager in SharePoint 2016
- Workflow App Identifier in SharePoint Online App Permissions
I hope this will be helpful to install and configure the workflow manager in SharePoint 2016, SharePoint 2013 or SharePoint 2019.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com