i tried to configure the start event in my process with the option Asynchronous Before but it didn't work. When i looked in the source code of the BPMN-model, i found out that when i marked the Asynchronous Before, it turned to camunda:async="true" in source code, not camunda:asyncBefore="true" like i expected. I have already tried both camunda modeler standalone and camunda modeler plugin for eclipse, both of them didn't work. Is it a bug in the modeler? Or camunda does not support asynchronous before for start event anymore? According to the documentation, it should work:
https://docs.camunda.org/manual/7.3/guides/user-guide/#process-engine-transactions-in-processes-asynchronous-continuations
Thanks you in advance
Best Regard,
Nam
thanks for your prompt reply. I have a process A which has a service task ST1. This service task use an array of events as input and starts for each event in this array a process instance of process B . So i marked the start event of process B with asynchronous before and hoped that the process instances of B will be processed by the job executor but it didn't work like i expected. And now i have an additional question regarding the job executor. I used the Tomcat distribution version, so according documentation i can configure the maxJobsPerAcquisition of job executor in the bpm-platform.xml file. The default value is 5, i have increased it to 10. But it didn't have any effect at all. Did i use the right approach to configure it or is there any other ways? Thank you in advance.
Best Regard,
Nam
does asynchronous option also apply for call activity? or only for service task?
Best Regard
Nam
So i marked the start event of process B with asynchronous before and hoped that the process instances of B will be processed by the job executor but it didn't work like i expected.
I used the Tomcat distribution version, so according documentation i can configure the maxJobsPerAcquisition of job executor in the bpm-platform.xml file.
<bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">
<job-executor>
<job-acquisition name="default">
<properties>
<property name="maxJobsPerAcquisition">48</property>
</properties>
</job-acquisition>
</job-executor>
...
does asynchronous option also apply for call activity? or only for service task?
thanks for your suggestions. I will give it a try.
Best Regard,
Nam