Hmm...perhaps you can simply not use sub processes at all.  Rather that think 
of the 'candidate' process as a sub process, just consider it as a stand-alone 
process.  Start as many as necessary  like you are now, with an ActionHandler, 
and set a process variable to link it back to your 'parent' process--perhaps a 
variable called "parentProcessInstanceId".  You would have to write a Hibernate 
query to return all 'candidate' processes with a given parentProcessInstanceId 
process variable, and then you could iterate through them, canceling (and 
ending) each one as appropriate.

The nice thing about jBPM is that its so open that there always seems to be a 
way to solve a problem. :)

-Britt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914591#3914591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914591


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to