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

    signal() or leaveNode() ??

    francis1970

      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