3

I am working on new sharepoint server 2016. and i have installed Workflow manager inside sharepoint server 2016, by following the steps mentioned here :-

https://social.technet.microsoft.com/wiki/contents/articles/34407.sharepoint-2016-step-by-step-installation-of-workflow-manager.aspx

Now i successfully finished the following steps:-

  1. Install the Microsoft Web Platform Installer 5.0
  2. Installation of Workflow Manager 1.0 CU 2
  3. Apply Cumulative Update 3.0 for Workflow Manager 1.0
  4. Configure the Workflow Manager
  5. Install the WorkFlow Manager Client on SharePoint Server

But when i want to do this steps "Register Workflow Proxy for SharePoint Servers", i am not sure what i need to provide for this command:-

Register-SPWorkflowService -SPSite "..." -WorkflowHostUri "..."

i mean what should -SPSite refer to ? and what should -WorkflowHostUri refer to ?

4

To register a workflow service to a specific site collection you should run Register-SPWorkflowService cmdlet that requires providing the below parameter values

-SPSite it denotes to the site collection URL that you need to use the workflow service on it.

Note:

It seems that each site collection needs to be registered with workflow service. But actually it’s not 100% correct, once you have registered a workflow service to any SharePoint site collection within the farm, it will be enabled for all SharePoint web applications / site collections. I am pretty sure from this behavior and that what I got on my farm.

-WorkflowHostUri this is the URL of the workflow service that hosted on IIS and created during the configuration of Workflow manager.

enter image description here

How you can get this information:

  • For -SPSite As mentioned above you just you need to specify your site collection that you need to use the workflow service on it.

  • For -WorkflowHostUri If you have installed the WFM on the same SharePoint farm so the WorkflowHostUri should be as http://"web application":12291 for HTTP and https://"web application":12290. or by opening the IIS to check as above mentioned

Note: this port is specified during configuring WFM at this step

enter image description here

You can also get it via PowerShell Get-WFFarm | select httpport,httpsport

For more details check

  • thanks for the reply.. so when you say to specify the site collection i want to use the workflow on it... then what if i need the workflow on more than one site collection ?? i think i am missing something.. – john Gu Mar 27 '17 at 16:48
  • and if i need to only define a single site collection inside the -SPSite parameters.. then should this site collection be a unique site that does not have data inside it.. or i can use existing site collection which is being used by end users?? – john Gu Mar 27 '17 at 17:13
  • @johnG existing site collection or new site collection it doesn't matter – Mohamed El-Qassas MVP Mar 27 '17 at 17:29
  • 1
    To avoid the confusion: it seems, each site collection need to be registered with workflow service. But it’s not correct, registering a single SharePoint site collection, will enable workflow manager for all SharePoint web applications/site collections. I am pretty sure from this behavior and that what i got in my farm – Mohamed El-Qassas MVP Mar 27 '17 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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