Installing and configuring SharePoint 2013 Workflows

Just when I think SharePoint 2013 cannot get more interesting I try and create a workflow:

“The option for SharePoint 2013 workflow platform is not available because the workflow service is not configured on the server”

Of course like most IT Professionals I always read the instructions carefully and follow a whitepaper or something when installing software so I can benefit from a perfect installation.. Pfffft

Nah, I just click next until something breaks. It would seem that SharePoint 2013 comes with SharePoint 2010 workflows out of the box and requires a separate workflow installer to get all the cool new stuff.

No problem.

Thank you Microsoft

Installing and configuring workflow for SharePoint Server 2013

Here is the requirements for workflows in SharePoint 2013

Platform Framework: Windows Workflow Foundation 4 Requirements: SharePoint Server 2013 and Workflow Manager (note the part after the “and”)

There is even a little note:

“Workflow Manager must be downloaded and installed separately from SharePoint Server 2013. It does not install automatically when you install SharePoint Server 2013.”

Aha.

Look for a section called “Install and configure Workflow Manager” which will take you here Installing Workflow Manager 1.0

After a quick exe download you will see Workflow Manager 1.0 pop up


image

This runs through a quick installation of prerequisites:


image

image

Hit “Continue”

Now to configure this.


image

You now have the opportunity to configure and test a bunch of settings. Amongst other you will be asked for your SQL server instance you would like to use as well as Configuration -, Instance –, and Resource Management Database names.

You can also configure your service account and you set up a certificate to use SSL for workflows. And Ports, you get to choose Ports. Oh this is very dull and dreary, but just hang in there, you are almost done.

Once it’s done and you have nice green ticks you are ready to go.

Note: I had some issues with running the default installation, so I chose custom and copied the PowerShell commands and ran them individually, which worked like a charm for me.

PowerShell scripts must be executed in the SharePoint Management Shell and should be run as Administrator.

Once the installation has been done, you will need to register the service:

Register-SPWorkflowService –SPSite “http://server/sitecollection” –WorkflowHostUri “http://WorkflowHost:12291” –AllowOAuthHttp

This took me some restarts and a whole lot of patience, but at last I can prove it is working.

Under Central Administration > Service Applications I can now see


image

And clicking on the Proxy…


image

Now to get my workflows working for me.

Adrian

#workflow

0 views0 comments