Time interval for fetching service task

I have a BPMN process where I want to re-execute a service task if a condition is not met, but I would like there to be a time interval between these two executions of the service task.
The service task has enabled asynchronous continuation, and my personal understanding is that the interval between the two executions should be determined by the configuration ‘camunda.bpm.job-execution.wait-time-in-millis’. However, in practice, the service task is executed immediately after the gateway.
How can I create a time interval between two executions?

If possible please do share your BPMN model.

diagram_1.bpmn (3.9 KB)

service task will be re-execute immediately after pass the gateway. It is expected to be executed at the next fetch.

Is there a problem in my understand? The service task passing through the gateway will be delivered to the execute thread pool immediately it’s normal behavior?

yes. If you want to introduce the delay, add the timer event. To understand more about wait time, refer the documentation.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.