Is external task one for all process instates?
I have created next schema
Where ProduceMilk, Order truck, Order bottles, All done are external task which do API call’s to my services. Service code look’s like just delay for 3 second and for all done is on 1min.
I tried to run 300 process instances and found that external task working only one for all process instances.
So all 300 tasks will not be executed in parallel but wait one by one all external tasks.
On my logs it look’s next
9/17/2020 9:29:50 AM: Start order milk
9/17/2020 9:29:53 AM: Milk is ordered
9/17/2020 9:29:53 AM: Start order milk
9/17/2020 9:29:56 AM: Milk is ordered
9/17/2020 9:29:56 AM: Start order milk
9/17/2020 9:29:59 AM: Milk is ordered
9/17/2020 9:29:59 AM: Start order milk
9/17/2020 9:30:02 AM: Milk is ordered
9/17/2020 9:30:03 AM: Start order milk
9/17/2020 9:30:06 AM: Milk is ordered
9/17/2020 9:30:06 AM: Start order milk
9/17/2020 9:30:09 AM: Milk is ordered
9/17/2020 9:30:09 AM: Start order milk
9/17/2020 9:30:12 AM: Milk is ordered
The same for rest external tasks?
Is it by design? Can I fix it somehow