We have SharePoint 2013 Environment, we have some issue with workflow manager services. because of that no workflows are starting automatically on create/update.

Even if I manually start workflow on any item it will stay in not started state.

I am in communication with Microsoft support and they have suggested to update the workflow manager version.

before doing that I wanted to see how many workflows are pending in all sites.

Is there any way I can see that.

2 Answers 2


Omi, here is an csom script getting the workflow execution status for all the workflows deployed to a SharePoint Site. You can edit it to check for all your sites.



Here you can find a sample PowerShell script in old thread PowerShell to get workflow status in a list items of the SharePoint Online

You can amend the code the loop thru all the lists/libraries in your site.

  • Hi, Mark, the OP's issue is in On Premise env, you are giving the online csom script
    – Jerry_MSFT
    Commented Sep 2, 2019 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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