SharePoint 2013 Workflow: Installing and Configuring

Install Workflow ManagerSharePoint 2013 offers many improvements over previous versions of the platform. Some of those are very apparent, and some are not so much. In fact, there are a handful of new features that almost seem to be hidden by the OOTB (out-of-the-box) installation.

One of these not so apparent features is the new Workflow engine, exclusively designed for use with SharePoint 2013. Some of you may be asking: where is it, how do I enable it, is it installed by default, etc…?

The scope of this guide is simply to provide you with the steps needed to take full advantage of this new workflow engine and the improved features that come with it. For an overview of the new engine and what capabilities it offers, please refer to this SharePoint 2013 Workflow Fundamentals page provided by Microsoft. Also here is a reference for How to Install Workflow Manager Certificates in SharePoint Server 2013.

Now that you have a thorough understanding of the SharePoint 2013 Workflow, let’s begin the installation and configuration.

In order to install Workflow Manager, you will need to download it as part of the Web Platform Installer 4.0, which is packaged with Workflow Manager 1.0. You can download this directly from Microsoft here.

Install Workflow Manager 1.0 using Web Platform Installer 4.0

  1. Browse to the download location and run the workflowmanager.exe.
  2. Click Install from the Workflow Manager 1.0 screen.Install Workflow Manager 1.0
  3. Click I Accept from the Prerequisites screen.
  4. Accept Prerequisites screen of Workflow Manager 1.0This will begin the installation process of Workflow Manager 1.0. When this has completed, we can then begin the configuration.Begin installation process of Workflow Manager 1.0
  5. Now that the installation has completed, it’s time to configure. Click Continue on the Configure screen, as seen below.Begin configuration process of Workflow Manager 1.0
  6. After clicking Continue, you will see the Workflow Manager Configuration Wizard after a few seconds. In this example, we will choose Configure Workflow Manager with Default Settings (Recommended).Configure Workflow Manager with Default Settings
  7. On the New Farm Configuration screen, enter the appropriate SQL server and the credentials. As you can see, in this example, I am using SQL Authentication, rather than Windows Authentication. Either option is fine. Test Connection.New Farm Configuration screen
  8. In the Configure Service Account section, enter the appropriate service account you would like to use to run the Workflow Manager. In this example, I created a service account explicitly for the WM.Configure Service Account*If your SharePoint farm is not using an SSL certification, please check the checkbox next to Allow Workflow Management over HTTP on this Computer.
  9. In the Certificate Generation Key section, enter a unique key. In this particular example, I used the Farm Passphrase that was created when joining these servers to the SharePoint Farm. Enter a key and press the right arrow to continue.Certificate Generation Key
  10. When the Summary page is displayed, verify all information is correct. Click the checkmark to complete the configuration information.Complete Workflow Manager configuration informationThis will begin the configuration process. When this has completed, you should see similar to the below.Complete Workflow Manager configuration process
  11. Click the check mark to complete the configuration.

In this example, we are using a single server SharePoint Farm. The Workflow Manager client must be installed on every SharePoint server in your farm.

Configure Workflow Manager with SharePoint 2013

Now that the Workflow Manager is installed on the system, we must now configure it so that it works with the SharePoint 2013 Farm.

  1. Browse to the Start menu and open the SharePoint 2013 Management Shell.SharePoint 2013 Management Shell
  2. Run the following command, using the appropriate information:
Register-SPWorkflowService –SPSite https://sharepointsiteurl.com/ -WorkflowUri http://servername.domain.local:12290

Verify Installation of Workflow Manager:

The easiest way to verify that the installation was successful is to use SharePoint Designer 2013 to attempt creating a workflow.

  1. Using SharePoint Designer 2013, open the site used in the steps above.
  2. Select Workflows from the Site Objects menu.SharePoint Designer 2013 Workflows
  3. Select List Workflow from the ribbon bar and then select any item in the drop-down list.SharePoint Designer 2013 List Workflows
  4. This will open the Create List Workflows dialog box. Under the Platform Type menu, you should now see at least SharePoint 2010 Workflow and SharePoint 2013 Workflow as seen below.

BEFORE SharePoint 2013 Workflow Manager Installation:

BEFORE SharePoint 2013 Workflow Manager Installation
*Note the informational message at the bottom of the above dialog box.

AFTER SharePoint 2013 Workflow Manager Installation:

AFTER SharePoint 2013 Workflow Manager Installation

That’s it! You are now able to take full advantage of the SharePoint 2013 Workflow engine.

Thanks for reading and, as always, let me know if you have any questions!

2014-04-07T08:30:35+00:00 April 7th, 2014|

10 Comments

  1. saghar June 9, 2014 at 3:34 am - Reply

    hi Dears
    I install sharepoint designer 2013 and workflow manager but when i creat workflow list .i cant see sharepoint 2013 work flow in platform.please help me to config sharepoint designer and workflow manager

  2. Girish August 22, 2014 at 2:31 am - Reply

    Hi,

    I followed the steps mentioned in the this blog an successfully configured Workflow Manager(https) and Sharepoint 2013(http).
    I am able to create a workflow and publish the same to the share point site.

    I am getting following error during Workflow execution(manually start workflow). Any help appreciated.
    =========================================================================
    RequestorId: cb074675-86b2-78aa-88aa-b68dc2473172. Details: System.ApplicationException: HTTP 401 {“x-ms-diagnostics”:[“3001000;reason=”There has been an error authenticating the request.”;category=”invalid_client””],”SPRequestGuid”:[“cb074675-86b2-78aa-88aa-b68dc2473172″],”request-id”:[“cb074675-86b2-78aa-88aa-b68dc2473172″],”X-FRAME-OPTIONS”:[“SAMEORIGIN”],”SPRequestDuration”:[“15″],”SPIisLatency”:[“0″],”Server”:[“Microsoft-IIS/7.5″],”WWW-Authenticate”:[“Bearer realm=”509db6b9-b979-4827-8126-cf1873902be4″,client_id=”00000003-0000-0ff1-ce00-000000000000″,trusted_issuers=”00000005-0000-0000-c000-000000000000@*,[email protected]73902be4″”,”NTLM”],”X-Powered-By”:[“ASP.NET”],”MicrosoftSharePointTeamServices”:[“15.0.0.4420″],”X-Content-Type-Options”:[“nosniff”],”X-MS-InvokeApp”:[“1; RequireReadOnly”],”Date”:[“Wed, 20 Aug 2014 08:08:46 GMT”]} {“error_description”:”The server was unable to process the request due to an internal error. For more information about the…
    =========================================================================

    Regards,
    Girish

  3. madhavi November 10, 2014 at 5:29 am - Reply

    The powershell command should be
    Register-SPWorkflowService -SPSite “https://intranet.fabrikam.com” -WorkflowHostUri “https://wfm.fabrikam.com:12290”-Force
    with appropriate information.

  4. shailesh November 19, 2014 at 6:07 am - Reply

    @madhavi

    Great!!

    Thanks madhvi you saved my life….

  5. Sinan Uysal August 26, 2015 at 5:26 am - Reply

    Second parameter of the Register-SPWorkflowService command should be WorkflowHostUri instead of -WorkflowUri

  6. Ellya March 24, 2016 at 3:35 am - Reply

    Hi,

    The step “Install Workflow Manager 1.0 using Web Platform Installer 4.0” …on which device am I installing this? Apps server, Web Server, My local PC or DB server? Or all servers in the Farm?

    Cheers, Ellya

  7. Sharepoint Workflow | General April 7, 2016 at 2:27 pm - Reply

    […] SharePoint 2013 Workflow: Installing And Configuring – Harness the capabilities of SharePoint 2013’s new Workflow engine by following these easy steps to install and configure Workflow Manager for SharePoint. […]

  8. Stacy September 7, 2016 at 11:39 am - Reply

    @Ellya
    Hi Ellya, normally you install the manager on the server that runs central admin.

  9. Selvaraju January 10, 2017 at 11:00 am - Reply

    Nice blog thanks.

    I faced below error when execute the power shell comment.
    Register-SPWorkflowService : Failed to query the OAuth S2S

    But I have resolved by below comment.
    Register-SPWorkflowService –SPSite “http://hillintlvm3:22331/” -WorkflowHostUri “http://hillintlvm3:12291” -AllowOAuthHttp -Force

    Below is the reference URL:
    https://blogs.msdn.microsoft.com/briangre/2013/02/20/least-privilege-configuration-for-workflow-manager-with-sharepoint-2013/

  10. […] SharePoint 2013 Workflow: Installing and Configuring […]

Leave A Comment