Go back to Creating a Dev Environment

Please refer to http://sharepointdragons.com/2014/01/07/creating-and-managing-workflows/ for detailed information about workflows.
  1. Download Windows Azure Workflow at http://www.microsoft.com/en-us/download/details.aspx?id=35375
  2. Get the workflow manager, workflow manager BPA, workflow client, and workflow tools (which equates to all available downloads!)
  3. Try to install the Workflow Manager. It will possibly ask to install the Web Platform Installer tool (if you didn't do this before), allow this by running it.
  4. This will also install the Workflow Client.
  5. Once the Workflow Manager Configuration Wizard starts, click Configure Workflow Manager with Custom Settings.
  6. Check the SQL Server Instance that will be used to create the various workflow databases. In my case, this database is called moon.lc.corp.
  7. By default, the Farm Management database will be called: WFManagementDB.
  8. By default, the Instance Management database will be called: WFInstanceManagementDB.
  9. Scroll down to see the other required settings.
  10. By default, the Resource Management database will be called: WFResourceManagementDB.
  11. Choose the Service Account that runs the workflow services. In my case, this is administrator@lc.
  12. On a dev environment, accept the Auto-generate option to create SSL and outbound signing certificates.
  13. Enter a certificate generation key.
  14. Confirm this by entering it again.
  15. Accept the default Workflow Manager Management Port at 12290.
  16. Accept the default HTTP port at which Workflow Manager listens for management requests at 12291. Note that this feature should be enabled in production environments, so it's perfectly alright in a dev environment.
  17. Check Allow Workflow Management over HTTP on this computer.
  18. Uncheck Enable firewall rules on this computer.
  19. Accept the default Admin group of BUILTIN\Administrators. This group is granted access to all databases configured as part of the Workflow Manager farm.
  20. Click Next.
  21. Now, the Service Bus configuration page opens.
  22. By default, the Farm Management Database is called SbManagementDB.
  23. By default, the Gateway Database is called SbGatewayDatabase.
  24. By default, the Message Container Database is called SBMessageContainer01.
  25. In the section Configure Service Account check the Use the same service account credentials as provided for Workflow Manager.
  26. In the section Configure Certificate, check the Use the same certification generation key as provided for Workflow Manager.
  27. Accept default ports. 9355 for HTTPS Port, SSL accessible port for a Service Bus deployment.
  28. 9354 for TCP port, Network-accessible port for a Service Bus deployment.
  29. 9356 for Message Broker Port, used for message broker port communication.
  30. 9000 for Internal Communication Port Range.
  31. Uncheck Enable Firewall Rules on this computer.
  32. In the Configure Admin Group section, again use BUILTIN\Administrators.
  33. Click Next.
  34. Click Apply.
  35. Click Close.

Please note that the Workflow Manager Client needs to be present on every SharePoint node in the farm.

  1. Configure SharePoint for Azure workflow
  2. After installing Windows Azure Workflow, you need to use PowerShell to configure the communication between SharePoint 2013 and Windows Azure Workflow. Do the following:
  3. Press Windows+Q.
  4. Type SharePoint.
  5. Click SharePoint 2013 Management Shell.

Execute the following command:

Register-SPWorkflowService -SPSite "http://moon/" -workflowHostUri "http://moon:12291/" -AllowOAuthHttp

-SPSite refers to one of your site collections.