How to install and configure workflow infrastructure in SharePoint 2013January 15th, 2013 | Author: Juan Carlos | Filed under: CloudShare, Dev / Test, SharePoint | Tags: How-To, SharePoint, SharePoint 2013, SharePoint Configuration, SharePoint designer, SharePoint Workflow, site collection, Workflow Manager
Workflows are another key area in SharePoint 2013 where Microsoft has made great investments. In fact, workflow platform is completely new in that it allows creation, usage and deployment of .NET Framework 4.x workflows in a SharePoint 2013 farm. Microsoft has completely redesigned the workflow platform for SharePoint by creating the Windows Azure Workflow Server (WAS) that enables us to completely separate the SharePoint side from the workflow one. Indeed, workflow infrastructure in SharePoint 2013 is completely independent from the SharePoint point of view that consumes and uses workflows through a web services façade.
Workflow infrastructure in SharePoint 2013 is not set up as part of the installation process of the platform. You can install WAS in an independent server or in a web frontend server after you have installed SharePoint 2013. There are two options to install Workflow infrastructure for SharePoint 2013:
- Use the Web Platform Installer available at: http://www.microsoft.com/web/downloads/platform.aspx
- Download and install the workflow individual components from http://www.microsoft.com/en-us/download/details.aspx?id=35375
Installing Workflow Manager 1.0
To simplify the workflow infrastructure setup, we are going to use the Web Platform Installer option explained above:
- Download the installer from the web and execute it.
- In the “Spootlight” tab of the Web Platform Installer, look for the SharePoint workflow components by using the sesrch box.
- In the search results, click the “Add” button for the Workflow Manager 1.0 row. Then, click the “Install” button.
- The installation process will install Workflow Manager 1.0 and configure all the necessary dependencies:
- Execute ASP.NET IIS Registration Tool.
- IIS Management Service.
- Service Bus 1.0.
- Microsoft Windows Fabric.
- In order to start the installation process, just click the “I accept” button in the wizard.
- Once the installation process ends, you can start with the configuration as it’s described in the “Configure” step tab of the wizard. Click the “Continue” button so the wizard shows a summary window with all the components installed and configured.
Configuring Workflow Manager 1.0
Once you have installed Workflow Manager 1.0, a configuration window wizard is started:
- As you can see, there are three possibilities for configuring the Workflow Manager. Just click the first one:
- In the first configuration window of the wizard, you have to specify parameters like:
- SQL Server where all the needed databases will be created.
- Service account.
- Key for certificates generation.
- Click the “Next” button in order to start the configuration. In the next window, check that all configurations are right and press the “Configuration” button.
- If everything is correct with the configuration, the next window will confirm that all configurations are complete without any errors or warnings.
Testing the installation
Well, once you have finished the configuration process you should verify that everything is right:
- Some databases (5) have been created. You can check databases created by using the SQL Server Management Studio.
- A new IIS site for workflow management has been created. You can check it by using the IIS Manager.
- The workflow service endpoint (by means of the site created) is ready to be utilized. You can check it by browsing the Workflow Management Site from IIS Manager.
Associating the workflow service with an existing Site Collection
Well, you are almost done and only need one additional configuration step in order to start creating and deploying SharePoint 2013 workflows: you need register the workflow service with an existing site collection by using the following Register-SPWorkflowService cmdlet. Execute it in the SharePoint 2013 Management Shell. Please ensure you use the following syntax:
Register-SPWorkflowService –SPSite “http://c4968397007/” –WorkflowHostUri “https://c4968397007:12290″ –AllowOAuthHttp
Finally, open SharePoint Designer 2013 and check you can create SharePoint 2013 workflows
And that’s all you need to know about how to setup the workflow infrastructure for SharePoint 2013.