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 ?

7
  • 1
    social.technet.microsoft.com/wiki/contents/articles/… Commented Mar 27, 2017 at 14:25
  • @Christoffer so what does "-SPSite: URL of Site collections. -WorkflowHostURI: Workflow Host URI is the URL of the Workflow site." really mean? can you explain this ? Commented Mar 27, 2017 at 14:32
  • @Christoffer now the link you refer to does not explain from where i can know the values for -SPSite & -WorkflowHostURI ?? i mean from where i can get these values? Commented Mar 27, 2017 at 14:43
  • 1
    sharepoint.stackexchange.com/questions/71767/… Commented Mar 27, 2017 at 14:51
  • 1
    And the workflow uri should be the adress + port to the actual workflow manager server application as mentioned here harbar.net/articles/wfm2.aspx Commented Mar 27, 2017 at 14:52

1 Answer 1

5

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

4
  • 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.. Commented Mar 27, 2017 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?? Commented Mar 27, 2017 at 17:13
  • @johnG existing site collection or new site collection it doesn't matter Commented Mar 27, 2017 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 Commented Mar 27, 2017 at 17:53

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.