Development Environment Workflow Manager 1.0 Setup and Validation Reference


Published on

Sharing my approach and knowledge of setting up a SharePoint 2013 development server with Workflow Manager 1.0.
There are many step by step guides on installing and configuring Workflow Manager 1.0; however, this is from a topology point of view as well as areas of validating the setup.

Published in: Technology
1 Comment
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Downloads can be directly for the Microsoft Download Center or through Web Platform Installer. It is more convenient through web platform installer as it also installs dependencies.
  • Development Environment Workflow Manager 1.0 Setup and Validation Reference

    1. 1. Database ServerWeb Front End & App Server Workflow Manager Service Bus SQL Server 2012 Workflow Client SharePoint Server My Development Server: Component Architecture I have a 2 server farm where one server acts as the SharePoint web and app server as well as the Workflow Farm. The other server is the database for both SharePoint Server, Workflow Manager and any other applications.
    2. 2. Web Front End & App Server Workflow Manager Service Bus Workflow Client SharePoint Server Installation Components Downloads Workflow Manager 1.0 (includes workflow client and tools) Cumulative Update for Workflow Manager 1.0 Service Bus 1.0 Cumulative Update for Service Bus 1.0
    3. 3. Web Front End Server Database Server Web Front End Server SQL Server 2012 SharePoint Server Workflow Server (1) Workflow Manager Service BusWorkflow Client App Server SharePoint Server Workflow Server (N) Workflow Manager Service Bus . . . Workflow Manager Farm Database Server SQL Server 2012 Workflow Service Application http / https Scaled Out SharePoint and Workflow Farm SharePoint Farm
    4. 4. SharePoint Server Workflow Server Service Accounts Assume Workflow Manager Service Account as corpwfmanager IIS Web Server Application Pool Name: WorkflowMgmtPool Service Account : corpwfmanager Urls / endpoints: Https://localhost:12290 http://localhost:12291 Services Service Account : corpwfmanager Note: Ensure corpwfmanager account is in the Administrators group. This ties into the Workflow Configuration setting of WorkflowAdminGroupName to ‘BUILTINAdministrators’ (by default)
    5. 5. Database Server Service Accounts (continued) SQL Server Windows Service Account : corpwfmanager Note: Before configuration, assign this account db_owner and db_securityadmin roles.
    6. 6. Registering Workflow Server via PowerShell After Workflow Manager is setup and configured, you must configure the SharePoint host to use the workflow service. A Workflow Service Application Proxy is created for the farm and for all web applications. Look in Central Administration > Manage Service Applications. Register-SPWorkflowService –SPSite "http:<SP_Server>/yourSite" – WorkflowHostUri "https:WF_Server:12290" –AllowOAuthHttp Note: best that <WF_Serve> is the fully qualified domain name. e.g. Reference:
    7. 7. Workflow Service Application Proxy Go to Central Administration > Service Applications Click Validating Configuration
    8. 8. Validating Configuration IIS Web Server - Workflow Management Site Go to any browser > Enter url https://localhost:12290 and http://localhost:12291
    9. 9. Validating Configuration Workflow Manager Service Host Open Workflow Manager or Service Bus PowerShell Command Make sure to ‘Run As Administrator’ even if you logged as a user with Administrator rights. This is so that the application you are opening is running with an access token of that of an administrator. To display to return the status of Workflow Manager 1.0 services in all of the Workflow Manager 1.0 farm’s hosts. That is the Workflow Management Site (IIS) and Workflow Manager Backend Service. PS > Get-WFFarmStatus To display the configuration of the workflow farm. PS > Get-WFFarm
    10. 10. Validating Configuration SharePoint Designer 2013 – Create a workflow and then Publish
    11. 11. Troubleshooting • I have used Fiddler to observe the http calls from the browser and SharePoint Designer. Sometimes you can see error messages and stack traces in the http response body. • You can also refer to event logs via Event Viewer
    12. 12. Tips • Run as Administrator for running applications, even though logged in as a user part of Local Administrator group • PowerShell • Web Platform Installer • Apply fully qualified domain name (FQDN) in any aspect of configuration for URL and domain accounts. Even though in the Workflow Configuration Wizard allows and states <domain><userID> format. • In Production environment, communicate to Workflow Manager via HTTPS for secured communication. • Apply SSL certificates • Create and execute workflows with non sharepoint service and workflow manager accounts • The Register-SPWorkflowService command is really registering at the web application level, even though you can set a site collection url as the SPSite parameter. Not reliable
    13. 13. Tips • Workflow Resource Browser Tool Allows you to browse the scope hierarchy of a Workflow Manager 1.0 installation, and view information about activities, workflows and instances under the currently selected scope.
    14. 14. MSDN Resources Installing and Configuring Workflow Manager 1.0 Workflow in SharePoint Server 2013 FAQ Workflow in SharePoint 2013 Workflow Deployment PowerShell Commands Troubleshooting Workflow Manager 1.0