[jboss-user] [JBoss jBPM] - Re: monitoring piece of default webapp not displaying the co

Olivier_Debels do-not-reply at jboss.com
Tue Aug 1 03:48:59 EDT 2006


A remark that maybe can help:

If you are creating action handlers on node events (like in your case where you have ExternalServiceActionHandler on a node-enter event) you don't need to call node.signal().

The reason for this is that by default node.signal() will be called in the action of the node.  So if you don't add an action directly on the node signalling is not necessary.

However when adding an action directly on a node you need to signal the node (by using executionContext.leaveNode()).  See also the comments on this function:

/**
  |    * leave this node over the default transition.  This method is only available
  |    * on node actions.  Not on actions that are executed on events.  Actions on 
  |    * events cannot change the flow of execution.
  |    */
  |   public void leaveNode() {
  |     getNode().leave(this);
  |   }

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

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



More information about the jboss-user mailing list