2 Replies Latest reply on Feb 22, 2008 2:27 AM by Frank

    signal() or leaveNode() ??

    Frank Newbie

      Hi all !
      I'm using an ActionHandler to invoke a stored Procedure when some nodes are entered. This should simply invoke the stored Procedure, store the result in a variable and then move the execution to next node.

      public void execute(ExecutionContext context) throws Exception {
       DBManager.getInstance.invokeStoredProcedure(params..);
       context.leaveNode();
      
       // or this ??
       //context.signal();
       }


      Is it more appropriate to issue context.leaveNode() or signal() ? what is the difference between these two ??
      Thanks
      Francesco