I would like to know what the execution process is like for asynchronous continuation service tasks.
For example, in the BPMN below, the service task A will check whether an asynchronous bussiness task in the application has been completed. It can through the gateway when it is completed. If not completed, the service task A needs to be executed again.
I observed that a SQL is executed regularly to retrieve the service tasks that need to be run. However, from my testing, it seems that Service Task A is immediately executed again after passing through the gateway, rather than waiting for the next execution of the SQL query.
I would like to know if there is a way to configure it so that Service Task A can be executed during the next pull, instead of being executed immediately.
My project uses Spring Boot + Camunda.
diagram_1.bpmn (3.8 KB)
Service task implement
Application log