You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Monitoring, Querying, Checking a Workflow via Web Service

posted on February 5, 2015

Hi people,

I've been able to start a workflow via a web service call. The response message includes an instance ID. Is there a way to query the web service to determine the status of the workflow? All I need to know for now is if it's active, completed or terminated.

I've read the documentation and can't figure out if it's possible or not. It seems possible from "Workflow 9.0 Consuming the Workflow Web Services.pdf" but I can't work out how to convert the .Net example into parameters for either configuration for "HTTP Form Post" or "HTTP Web Request" or for constructing a URL.

Is it even possible?

-Ben

0 0
replied on February 9, 2015 Show version history

Hi Ben. I recently responded to another post about the Workflow Web Service. My answer might give you some ideas: 

 

  https://answers.laserfiche.com/questions/70701/REST-API--Workflow-Web-Service

 

To be specific, the Workflow Web Service does not directly provide a mechanism for "subscribing" to a workflow instance (or to receive a notification of its completion). However, there is a lesser known (or maybe even totally unknown) set of input parameters that we use internally for similar purpose. Check the answer I provided to the question above for more details on it. The idea is that you can tell Workflow to invoke an Http POST request to a provided url when it completes. The rest is up to you. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.