In my 'execute' function in ActionHandler, I must call
"executionContext.leaveNode()" at the very end.
Since there can only be one Action in a given Node, I think leaveNode should be the
default action after execution of ActionHandler, if user didn't call leaveNode in the
actionHandler.
Even in script, we also must call leaveNode after other work. And, if you updated some
process variables, you must call executionContext.setVariable to set the updated values
back, or the code get executed in the next node can't get the updated values. The
reason is the code in the next node will be executed before the script interperter set the
updated process variable back to ContextInstance. I believe this is really unconvenient
for users.
Is there anyone can give me a good reason for this?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977786#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...