Get All Active User Tasks including the Subprocess(invoked through Call Activity)

Hi,
We are using a Flowable Engine embedded in a Spring boot application . We have a process model which has several Call Activity . Is there a possibility to fetch all the active user tasks of both Parent and Child process .

We are using the below approach : -
taskService.createTaskQuery().processInstanceIdWithChildren(parentProcessId).list();

but it is giving us empty list .

Any chance we can achieve this ?

Thank you

Hey @Martin1,

The processInstanceIdWithChildren can be used and has effect when the entity links are enabled on the process engine configuration. If you do not have that enabled then it won’t have any effect.

Cheers,
Filip