have the task to identifiy the status of a process by analyzing the current state of main process and all subprocesses. All share the same business key. If I call /engine-rest/task?businessKey=abc, I will only find the tasks, but for the analysis I need also all active call activities. The modeler names Call activities as a task, but for the engine it seems not to be a task, just an activity…
Is it possible to find also active call activities?
you can request the activity instance tree of the process instance, maybe this is helpful for you.
Make a GET request on /process-instance/{id}/activity-instances
where id is the process instance id.
To found out the process instance id send a GET request to the /execution?businessKey=abc resource, with your buisness key.
This will also return the executions for the sub processes.
See the docs for more informations.