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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...