JBoss Community

How do I get the parent process and child sub-process relationship?

created by byungwoojun in jBPM - View the full discussion

I am using jBPM 5.1, and defined process flows using the reusable sub-process (or call activity). For example, A.bpmn has two reusable sub-processes using B.bpmn and C.bpmn. When the A.bpmn runs, jBPM 5.1 creates three process instance ids: one for A.bpmn (parent), one for B.bpmn and one for C.bpmn.

 

In this case, A.bpmn instance is the parent process instance of the B.bpmn and C.bpmn instances. I looked at the ProcessInstanceInfo table and other tables, but I couldn't find any indication which one is parent and which ones are children. Is there any jBPM API can tell the relationship (parent - children)?

 

Thanks,

bwj

Reply to this message by going to Community

Start a new discussion in jBPM at Community