Happy Business Starts Here

Checking if a specific workflow is running

Highlighted
Senior Tutor

Checking if a specific workflow is running

Does anyone know if there's a way to check if a workflow is currently running?  There's no option on the settings tab to let me limit a workflow to a single instance, and that's exactly what I need.

 

If I had a way to query the workflow system to see if a specific workflow was already running that'd be great. 

1 REPLY 1
Highlighted
Valued Scholar

Re: Checking if a specific workflow is running

You can use the Get Workflow by Id endpoint. It lets you read information about a specific workflow by its ID. On success (200) , read the "status" from the response. It will be one of the possible values - "Queued", "Processing" "Pending" "Stopped" "Success" "Error".

 

Hope this helps anyone having a similar question.

Tags (2)