Install and configure the SharePoint SP1 Workflow
Overview of workflows in SharePoint with SP1
In SharePoint with SP1, Workflow (established in Windows Workflow Foundation 4.5) and WCF is hosted in Workflow Manager, which is Workflow The manager provides management of workflow definitions and also hosts the execution of workflow instances, which is the new workflow engine. In order to listen to SharePoint events for workflows, such as itemcreated, ItemUpdated, the platform is routed to Workflow by using Windows Azure Service Bus, which is coordinated by OAuth. Manager. For backhaul, use the SharePoint REST API to fall back to SharePoint. (see http://msdn.microsoft.com/zh-cn/library/jj163181.aspx for details) to demonstrate the high-level architecture of the workflow infrastructure:
As can be seen, the workflow execution engine workflow Manger has been detached from SharePoint (in Windows Azure, that is, Windows Azure is the new execution host, and SharePoint 2010 is completely different) and runs independently, This also provides flexibility and scalability.
Install and configure the Workflow Manager
The
SharePoint with SP1 Workflow platform requires workflow manger to be installed separately and then configured to work with the SharePoint server with SP1 Farm. However, because there are not so many servers, the SharePoint Server and Workflow Manager 1.0 ( and then upgrade the time, follow the prompts for the installation, installation completed Workflow Manager 1.0, Next Install Service Bus 1.0 Cumulative Update 1.0, install Workflow Manager CU2 to get 1.0 Refresh again. ) The installation is configured on the same server.
- First, open the Web platrom Installer, Search Workflow Manager 1.0 ( and then upgrade again, follow the prompts to install successively, install the Workflow Manager 1.0, and then install Service Bus 1.0 Cumulative Update 1.0, install the workflow Manager CU2 to the get to 1.0 Refresh again. ), such as:
- Next, select Install as shown in:
- After successful installation, then configure Workflow Manger, it is recommended to choose the default, so that the operation to create a new farm, only need to do this on the first computer of the farm, after the farm has been created, you can use the "join the farm" operation to add more computers to the farm. As shown in the following:
- When you create a new farm configuration, you need to configure service account and certificates, as shown in:
- Click Next and it will take about 10 minutes for the configuration to succeed, as shown in:
- After the above steps have been installed, the final steps are to upgrade the workflow Manger ( and then follow the prompts to install it, and then install the installation complete Workflow Manager 1.0, followed by the service Bus 1.0 Cumulative Update 1.0, install the workflow Manager CU2 to the get to 1.0 Refresh again. The installation steps are the same as above, except that no configuration is required, and the next step is completed after the upgrade.
- Finally, enter IIS to check if the workflow Management site application was successfully created (containing two specific ports, 12290, 12291) as shown in:
Configure the Workflow Manager to work with SharePoint Server SP1
As mentioned earlier, I installed Workflow Manager 1.0 on the same SharePoint Server 2013 server and communicated through HTTP, so I ran the following PowerShell to register:
Test whether SharePoint Workflow 2013 is installed and configured correctly
- Open the site with SharePoint Designer, create a workflow, and select SharePoint 2013 workflows as follows:
- Insert the workflow history activity, and then record the following information:
Install and configure the SharePoint SP1 Workflow