3 Replies Latest reply on Sep 14, 2007 8:50 PM by Ronald van Kuijk

    Retry a Node, after exception.

    Jason Greiner Newbie

      When my code throws an exception on a node, the process instance is stuck on the node. When I correct the problem, does someone know the method or the object I could look at to retry the process execution on the node?

      Here is what I am trying, but ExecutionContext is always null, so I am not sure I am grabbing that in a correct fashion. This code is being call within an ejb.

       Node node = definition.getNode(lastNode);
      
       ExecutionContext ectx = ExecutionContext.currentExecutionContext();
       node.execute(ectx);