In my project I have different jobs. One jobs are long and may work in hour, and other jobs are quick and work in seconds.
I have to use big value in “lock-time-in-millis” cause of big jobs. But i need set smaller value for quick jobs. How can I arrive this?
Hi @mejiomah,
you can start with a short lock duration and extend it if you need more time: https://docs.camunda.org/manual/7.13/user-guide/process-engine/external-tasks/#extending-of-locks-on-external-tasks.
Hope this helps, Ingo
Thank you for quick response. You mean I should use ExternalTask instead of Java Delegate for my jobs?
You could also place the process models causing different jobs in separate process applications. They may share the process DB but use different settings for the job executor.