Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The Register-SPWorkflowService command has a required property SPSite. MSDN says

Specifies a site collection to configure.

To register the workflow service with SharePoint I would have to run the following:

Register-SPWorkflowService –SPSite "http://myserver/mysitecollection" –WorkflowHostUri "http://workflow.example.com:12291" –AllowOAuthHttp

All good so far, I just don't understand what the SPSite is for. When I try to register the workflow service for another site, e.g. "mysitecollection2", I get an error that the farm is already registered with the workflow service, so there can be only one association I assume?

What is the SPSite parameter for? What happens when said site is deleted? What happens when I run workflows on other sites - they do work, I know - but why the site then?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's a poorly named parameter, and the TechNet documentation does not describe it at all. I figured this out with some trial and error when configuring.

The SPSite parameter can be any site collection in any web application, and basically configures a Workflow Service Application Proxy to connect SharePoint to Workflow Manager. It doesn't matter which web application or site collection you use, just that it exists, and unless you are doing subscriptions/multi-tenant, you only have to run it once on the farm.

The Workflow Service Application Proxy is added to the default proxy group, so SharePoint 2013 workflows should now work for any web application in your farm that uses the default proxy group. If you are using custom proxy groups, you will need to edit and select the Workflow Service Application Proxy in order for SharePoint 2013 workflow to work with that particular web application.

share|improve this answer
    
have some virtual +1 upvotes. Great info, also the additional proxy information. –  Dennis G Jul 2 '13 at 10:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.