byungwoojun [
http://community.jboss.org/people/byungwoojun] created the discussion
"How do I get the parent process and child sub-process relationship?"
To view the discussion, visit:
http://community.jboss.org/message/620869#620869
--------------------------------------------------------------
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
[
http://community.jboss.org/message/620869#620869]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]