Unable to start Call-activity's called process definition automatically and retrieve tasks


#1

Hi,

With call activity, I am not able to retrieve the tasks from the called process definition since it does not start automatically. The task service query from the first process instance is not giving the tasks from the called process instance. Could you help me with this query and suggest if there is a better way to retrieve the tasks from the called process instances.

SubFlow_CA_Called.bpmn (4.0 KB)
SubFlow_CallActivity_Invoker.bpmn (4.1 KB)

Thanks and Regards,
Divya


#2

Hi Divya,

What do you mean by “it does not start automatically”?
What steps have you performed?

Best regards,
Yana


#3

Hi,

I used activity instances to get the list of activities in the process instance. As per the parent flow SubFlow_CallActivity_Invoker.bpmn, completed the first user task 1 and then tried to query the task service to get the next active task (which was supposed to be the user task 3 from the called definition), but didnt get any result from the called instance.
Am i missing any additional query or should i start the called instance separately and link it with parent instance somehow to get those usertasks ?
I was using task service to query for active tasks in the current process instance

Thanks and Regards,
Divya


#4

Hi Divya,

Could you please share how your query looks like

Best regards,
Yana