Interrupting Long processing service task with timer boundary event

Hey guys,

I’m facing some problems with a “service delegate” that is running beyond 5 minutes.

What happens is that the camunda engine after this period creates a new thread to manage and disregards
the previous one, thus generating multiple invalid processings.

I saw that I can adjust some properties to resolve this issue.

But where I work is in a freezing period, so I thought about using “timer boundary event” and I also discovered that this service does not interrupt execution and does not change the direction of the process.

Would you have any suggestions for what I could do for this scenario?

Hi @Alex_Wellington_Sant,

the only option is to increase the .lock-time-in-millis configuration. Its default value is 5 minutes.

The Spring Boot configuration property is camunda.bpm.job-execution.lock-time-in-millis: Process Engine Configuration | docs.camunda.org

Hope this helps, Ingo

1 Like