Posts

Showing posts with the label Scope

Fetch SharePoint Workflow Manager 1.0 Scopes

Workflow Manager Scopes SQL Query You can use following SQL Query on WFResourceManagementDB and it will list down all the workflow scopes created by Workflow Manager with Subsite URL and Scope path: ; WITH XMLNAMESPACES ( 'http://schemas.microsoft.com/workflow/2012/xaml/activities' AS ns ) SELECT  XC . value ( 'ns:Value[1]' , 'varchar(150)' ) AS WScope , S . Path , S . DefaultWorkflowConfiguration , S . Description FROM [WFResourceManagementDB] . [dbo] . [Scopes] S CROSS APPLY S . DefaultWorkflowConfiguration . nodes ( '/ns:ScopedWorkflowConfiguration/ns:appSettings/ns:AppSetting' ) as XT ( XC ) WHERE XC . value ( 'ns:Key[1]' , 'varchar(100)' ) LIKE '%WebUrl' Order By 1 PowerShell Method You can use below PowerShell script to fetch all the scopes: [ string ] $Endpoint = 'http://wfservername:12291' [ string ] $Path = '/' [ string ] $Parent = "None...