Hi fm,

I have a similar workflow scenario and I use this code in an ActionHandler:

JbpmSession sess = JbpmSession.getCurrentJbpmSession();
  | GraphSession gs = sess.getGraphSession();
  | ProcessDefinition newprocessDef = 
gs.findLatestProcessDefinition(newprocessname);
  | if (newprocessDef == null) return;
  | ProcessInstance subprocess = new ProcessInstance(newprocessDef);
  | newprocess.signal();

Is that what you're looking to do? It all runs within the current session this 
way. I manage the relationship between the new/subprocesses and the 
parent/superprocesses through mechanisms outside the jBPM super/sub mechanism.

I tried dynamically using subprocesses from a process-state node but couln't 
get it to work (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76444).

-Brian

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to