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?