How to claim and complete external service tasks that are present inside multi-instance parallel subprocess

I have multi-instance parallel subprocess that is getting a list as input from a service task. We can see the model below-
Screenshot 2023-04-06 175538

Here, I am successfully able to provide the input data to the ‘detect logo’ service task and 3 instances become visible on it and (all have the same topic) when I try to claim and complete, it executes one by one only, not parallelly. How can I achieve parallel implementation of this?

Additionally, i am trying to implement it using python with pycamunda and REST apis.

Actually camunda runs this tasks in parallel. Your external task engine should be able to parallel execute it with rest calls. For example nodejs client get these tasks one by one and executes http call as async, for all tasks in parallel, then gets result and complete task one by one, when async call ended.

2 Likes

this is what happening in my case. the input comes parallelly but how can i “execute” (claim each input with separate execution and then complete) parallelly? thanks for the reply.

i am not sure it is possible with python.