[jboss-user] [JBoss jBPM] - Re: How to take a decision in java code
Jean-LucT
do-not-reply at jboss.com
Fri Sep 7 03:37:26 EDT 2007
Hello Ed, I've tryed moving it to the leave node. My new decision node XML is now :
<decision name="Client actif ?">
| <event type="node-leave">
| <action name="decisionWhenLeaving" class="fr.jl2tho.tutorialjbpm.action.DecideIfCustomer"></action>
| </event>
| <transition name="Oui" to="Enregistrer la Question"></transition>
| <transition name="Non" to="Prevenir le commercial"></transition>
| </decision>
|
Now, I got a java.lang.StackOverflowError when I use the Non transition (Non default one). It looks like as if it was looping on the instruction : node.leave(executionContext, "Non");
Any idea ? Am I using the correct instruction ? I'm lost with all this method that seems to be able to change a transition.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081956#4081956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081956
More information about the jboss-user
mailing list