AnsweredAssumed Answered

Get called activities

Question asked by nik10.mah on May 5, 2014
Latest reply on May 6, 2014 by martin.grofcik
Hi ,

Is there a way to get the linked process instances that have been started via callActiviti element.

I found runtimeService.getActiveActivityIds(task.getExecutionId());

but it only returns the activiti of current execution.
But i want all the active and linked process instances. For example, a process intance PI-1 generates three more process instances through callActiviti tag namely CA-1,CA-2 and CA-3. So is there a way to that get all the three instance CA-1, CA-2 and CA-3 using PI-1 or vice versa

Outcomes