Fully automated processes with long running tasks in Camunda

Hi @enix79,

Not via external tasks unless you build something around the APIs yourself.

The job execution lock time and transaction timeout are global settings. You would have to use the most pessimistic values.

You can also have a look at the asynchronous service task pattern. This would allow you to trigger the operation from Java code (in a push kind of fashion) and then leave the engine context. Once the long-running computation is done, you would trigger the service task again. Note that you will have to handle failures of the long-running computations properly or the service task will never continue, i.e. there is no built-in retry mechanism as with jobs or external tasks.

Cheers,
Thorben