I am able to navigate till workflow associations. Can anyone help me to display the workflows in progress count and the workflow name
-
Does this solve your problem? sharepoint.stackexchange.com/a/164066/6382– Benny Skogberg ♦Commented Jan 22, 2019 at 9:05
-
You can check the similar post: social.msdn.microsoft.com/Forums/lync/en-US/…– Hellofiona_MSFTCommented Jan 22, 2019 at 9:29
-
No. I don't have to iterate through the items. I am able to get the workflow name by using workflowAssociation.Name. Same way is there a way to get the Workflows in progress??– sushma manneCommented Jan 22, 2019 at 9:36
Add a comment
|
1 Answer
Try to use the PowerShell as following:
$web=Get-SPWeb http://SpSiteName
$list=$web.Lists["ListName"]
$wf=$list.WorkflowAssociations | where {$_.RunningInstances -gt 0}
$wf | select Name,ParentList,RunningInstances | Format-List;