[jboss-user] [JBoss jBPM] - Subprocess questions - and unexpected behaviour ?

ramsub do-not-reply at jboss.com
Thu Sep 27 13:03:41 EDT 2007


[jbpm3.1.3]
Question : Can a process node have more than one leaving transition ?

If so, then how can I choose a transition to leave ?

I need to take a transition based on what state the subprocess finished in.

I tried writing an action handler on even <subprocess-end>, and doing executionContext.leaveNode(transitionName) , but I have some really weird behaviour when I run this - The subproces-end handler gets repeatedly executed infinitely - thousands of times... till it finally throws an exception..

Why does this happen, has anyone tried this before ?
If not this way, is there any other way that I can choose an exit transition out of a process node ?


Thanks !!

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

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



More information about the jboss-user mailing list