Identify process instance is in progress

I have a issue is like, a process is triggered with two identical requests, both instance are in progress hence there is no process-instance id, how can i identify that there is already a request is in progress and cancel any one of instance

Thanks in advance

Hi @gowtham_m,

if you start every process by message and use a unique business key for correlation, you can implement your requirements with this pattern:
grafik

Both message event have to use the same message definition. The event subprocess will cancel all following requests when a process instance is running.

Hope this helps, Ingo

1 Like