[jboss-user] [JBoss jBPM] - Re: Why must we call executionContext.leaveNode() in Node's

youngliuus do-not-reply at jboss.com
Thu Oct 12 23:04:53 EDT 2006


  Thank you for your response. I agree with what you said. But we can add calling leaveNode in class Node, after calling ActionHandler. 
  The case I feel really unconvenient is when the ActionHandler is used by a node, and there is only one leaving transition, or we just want to go after the default transition. And I believe this is true for many cases.
  Moreover, it's a good idea that let the end-user write script for a node's action.  Currently, we must tell the end-user to call leaveNode after the very end, and setVariable to processVariable before leaveNode if she/he updated some of processsVariables; if she/he didn't do these, the process doesn't work.
 
  Of cause, I can add my node type to jBPM, and implement this in my node type.
  

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

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



More information about the jboss-user mailing list