4 Replies Latest reply on Feb 11, 2007 10:54 AM by Ronald van Kuijk

    beginners question: how to end path of execution

    David Croe Newbie

      Hello !
      in the userguide i read this:
      9.3.1. Node responsibilities
      4. end paths of execution. A node can decide to end a path of execution. That means that the token is ended and the path of execution is finished.

      I tried a simple example which uses executioncontext.leaveNode(transitionName)
      which worked but than it should stop the workflow because it is a end-state node but it does not ... it returns to the leaveNode call and executes the next transition found in the xml configuration.
      Anyone knows how-to do "end path of execution" programmaticaly ?

      thanks a lot in advance