JBoss Community

Get the sub-process ID with parent process ID

created by cheney-dut in jBPM - View the full discussion

Such as the below image. JBPM5 will generate a sub-process id, when the process instance reaches the Sub-Process Node.

How can i get the sub-process id with its parent process id?

 

By then way,  i know that the code "ksession.getWorkItemManager().completeWorkItem(6, null);" can make a process instance on the move. But how can i get the workItem id with the process instance id, especially which process contains Sub-Process?

 

Thank you!

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/2-604256-16340/436-60/1.JPG

Reply to this message by going to Community

Start a new discussion in jBPM at Community