How to Configure Workflow Infrastructure 2013 in Sharepoint 2013

Posted: August 15, 2014 in SharePoint2013

Message in SharePoint Designer 2013: The option for the SharePoint 2013 Workflow Platform is not available because the workflow service is not configured on the server.

Introduction

This article explores how to configure a workflow infrastructure 2013. I installed SharePoint Designer 2013 and tried to create a SharePoint 2013 workflow but there was no option to select the platform type as “SharePoint 2013 Workflow” and I was getting the following message in SharePoint Designer 2013:

SharePoint 2013 Workflow

Here is the procedure:

1. Make sure the Workflow Manager 1.0 for SharePoint 2013 server is installed and configured properly. If the workflow manager 1.0 is not installed then use the following URL:

2. Verify that all the following services are running (to check the service status, press the Windows key+R and type services.msc):

  • Workflow Manager Backend
  • Windows Fabric Host Service
  • Service Bus Gateway

3. Open “SharePoint 2013 Management Shell” and run the following command:

Enable-SPFeature -Identity WorkflowServiceStore –Url $yourUrl

Replace $yourUrl with your site collection URL.

In my case, I was getting a message saying that the feature was already activated at that site.

4. Open IIS, verify that “Workflow Management Site” is working fine.

You can determine which ports SharePoint Server 2013 and Workflow Manager are using for both HTTP and HTTPS by using IIS Manager as shown in the following figure.

Workflow Management Site

5. You need to register the workflow service with an existing site collection using the following Register-SPWorkflowService cmdlet. Execute it in the SharePoint 2013 Management Shell. Please ensure you use the following syntax:

Register-SPWorkflowService –SPSite “http://svr7007/” –WorkflowHostUri “https://svr7007:12290″ –AllowOAuthHttp

Change the port number if you want to use HTTP (12291) or HTTPS (12290) to communicate between the Workflow Manager and SharePoint Server 2013.

6. Finally, open SharePoint Designer 2013 and check that you can create a SharePoint 2013 workflow.

SharePoint 2013 Workflow1

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