How to check if a Process Instance is running and take action upon it

A Score Level 1

Hi All,

I have an Asynchronous Process Model, Which is starting from an interface Button Action.

I need to check if an instance of the process is running already, based on that and some other values, take decision whether to trigger another instance.

Basically i want to check if a Process Instance is running or not, even if its a Sync. or Async Process Model, either triggered from a Process Model or an interface or a WebAPI.

 

Please let me know 

  Discussion posts and replies are publicly visible

Parents Reply
  • I think the exact approach would depend on your use case. You could implement a queue manager process, where all new instances would write to a database table (the queue) and the manager process would initiate new instances one at a time off the queue.
    Alternatively, a simple loop with a timer node can periodically re-check for running instances, and proceed with the new instance once there aren't any others running.
Children