I am trying to get the list of all workflows in Suspended state
I looked up in google and the max that I can get is the list of workflows that are enabled in one list
_api/SP.WorkflowServices.WorkflowSubscriptionService.Current/EnumerateSubscriptionsByList('guid in here')
I also tried modifying the parameters in the workflow.aspx URL. I tried removing the ID parameter etc, but nothing worked
_layouts/15/workflow.aspx?List={DJKD33-L7S2-93J3-90B7-L5G0FA73E562}&Source=/workflows/Lists/List Name&ID=596&ShowAll=1
I am able to see the status of all workflows in the site from this url
_layouts/15/workflowservicehealth.aspx
But there is not option to see the list of suspended or terminated workflows.
Is there a way to list of all suspended workflows (list workflows) using REST api/ Search API or Javascript(JSOM) ? or are there any urls?