Cancel Instances/Process running with Running status Automatically

Hi,

I have some processes running on my camunda, which does some mass tasks after receiving messages from the queue MQ, however, after some time and some instances started, the status of my process is in “Running” impacting the processing of my other processes, so it is necessary to change the Status to “Canceled” manually. Do you have an alternative to automate this? Example: If my instance has a “Running” status of 2 days, is it automatically canceled? I’m using Java + Spring.

Thank You =)

Hi @Eulice_dos_Santos,

You can append a Timer Boundary Event to the task that gets stuck and set it to a duration of 2 days, after which the task will be interrupted and the process will finish (or continue down a different path).

Hope this helps,
Nikola