Find the Workflow Service URL for a SharePoint 2013 Farm


In case anyone needs to find the registered workflow service address for a SharePoint 2013 farm, here’s a short PowerShell snippet to list the details.

[Void][System.Reflection.Assembly]::loadwithpartialname("Microsoft.SharePoint.WorkflowServicesBase")
$web
= Get-SPSite -Limit 1 -WarningAction SilentlyContinue | Get-SPWeb

$wfm
= New-Object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)

$wfm
| SELECT *

or (added on 5/13/2013)

$wfProxy = Get-SPWorkflowServiceApplicationProxy            
$wfProxy.GetWorkflowServiceAddress((Get-SPSite -Limit 1 -WarningAction SilentlyContinue))

The above PowerShell will show you the value for the registered WorkflowServiceAddress. The /SharePoint/ segment of the URL is added by SharePoint during registration process, you should not add segment to your registration URL.

image

If you need to change the URL of your workflow service, you can use the Register-SPWorkflowSerivce cmdlet on your 2013 farm.  You will need to use the -Force option if you need to update the value for a SharePoint 2013 farm that that is already registered to an existing workflow service.


Comments (0)

Skip to main content