My Timer Intermediate catch event taking much more duration then specified in the bpmn diagram
Hi,
Think of a timer as ‘will not happen before…’.
Behind the scenes, the engine stores a timer as a due date. When that date/time is passed, the timer becomes a candidate for processing via the job executor. If the job executor is idle and has gone to sleep for say 60 seconds, then the timer will not activate for another 60 seconds…
You can adjust the job executor settings to reduce the maximum sleep time. In addition, you can configure the job executor to treat timers first.
See maxWait here [1] and jobExecutorPreferTimerJobs here [2]
regards
Rob
[1] https://docs.camunda.org/manual/7.8/reference/deployment-descriptors/tags/job-executor/#job-acquisition-configuration-properties
[2] https://docs.camunda.org/manual/7.8/reference/deployment-descriptors/tags/process-engine/#configuration-properties