Couldn't you also just use a fork, have n transitions to the sub process node and then a single transition from the join?
Like this: <?xml version="1.0" encoding="UTF-8"?> | | <process-definition name="process"> | <!-- START-STATE --> <start-state name="start"> | <task name="task"></task> | <transition name="" to="fork1"></transition> </start-state> | | <!-- NODES --> | <process-state name="process1"> | <transition name="" to="join2"></transition> | </process-state> | <join name="join2"> | <transition name="" to="end1"></transition> | </join> | <end-state name="end1"></end-state> | <fork name="fork1"> | <transition name="tr1" to="process1"></transition> | <transition name="tr2" to="process1"></transition> | <transition name="tr3" to="process1"></transition> | </fork> | </process-definition> Oh wait, nevermind, you want to decide at runtime how many to make. The above code solution from smalbequi is better then :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954003#3954003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954003 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user