micste [https://community.jboss.org/people/micste] created the discussion

"Programmatically add instance to multiple instances with reusable subprocess?"

To view the discussion, visit: https://community.jboss.org/message/827122#827122

--------------------------------------------------------------
Using jBPM 5.4.
There is a main process with a multiple instances node which contains a 
reusable subprocess. The main process waits for all subprocesses to complete.
The subprocess contains a human task which allows interaction. What I like to 
do is to add programmatically a subprocess to the multiple instances in the 
main process while the main process waits for completion of all subprocesses so 
that the main process also waits for the completion of this newly created 
subprocess before going on.
I am able to start the new subprocess but how to let the main process know to 
wait for the completion of this subprocess, too?
 
https://community.jboss.org/servlet/JiveServlet/showImage/2-827122-21111/mult.jpg
  
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-827122-21111/450-173/mult.jpg
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827122#827122]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to