Enable Workflow Manager 1.0 in a SP2013 development environment

Preparations:

  • The Workflow Service and Service Bus can be run as the farm account, but it is recommended to use specific accounts for these services. I created the following to accounts in my Active Directory: wfService (for the workflow service) and sbService (for the service bus)
  • The installation must be done with a user that has local administration rights and the sysadmin role on the database.

Installation and configuration of WF Manager

  1. Install Workflow Manager 1.0 from the following link: http://go.microsoft.com/fwlink/?LinkID=252092.
  2. Run the downloaded executable and click “Install”
  3. Read the license terms and click “I Accept” if you agree to the terms
  4. In the Configure step, click “Continue” to launch the Configuration Wizard
  5. In the Wizard, choose “Configure Workflow Manager with Default Settings”
  6. In the “New Farm Configuration” fill in the following information
    • The name of the SQL Server Instance (click “Test connection” to verify the connectivity)
    • Enter the user account to be used for the workflow service (I chose “wfService” as described above)
    • Select “Allow workflow management over HTTP on this computer” to simplify the setup in a development environment (not recommended in a production environment)
    • Enter a “Certificate Generation Key” that you will remember
  7. In the “Summary” screen click the “Copy” link and save the summary to a text file for future reference. Note that the workflow manager management port (https) and HTTP port are set to 12290 and 12291 respectively. There is also a “Get PowerShell Commands” that you can copy for future automated configuration of the WF manager.
  8. Click the “Apply” button.
  9. After a while, the configuration shall be confirmed
    • workflow-config-success
  10. The following databases should have been created: WFInstanceManagementDB, WFManagementDB and WFResourceManagementDB
  11. If you have a look in IIS, you will see a new web site called “Workflow Management Site”

Finally, it is time to configure SharePoint to work with the new Workflow Manager:

  1. Create a site collection that is used to register the workflow service
  2. Start the SharePoint 2013 Managment Shell (run as administrator)
  3. Run the following command (use fully qualified domain names, not “localhost”)

You should now be able to start working with workflows in SharePoint designer and Visual Studio.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s