1 Reply Latest reply on Apr 9, 2009 3:08 AM by Joram Barrez

    Dynamic transitions??

    Ajay Banda Newbie

      Does jBPM support dynamic transitions. I have a process definition where each of the Node on 'error' transition goes to 'ERROR' node. Is it possible to have a dynamic outgoing transition on 'ERROR' node, say '$transition' value of which is determined during runtime and which returns back to the actual node the error has origniated from.

        • 1. Re: Dynamic transitions??
          Joram Barrez Master

          You could try to model this functionality by setting a node-enter event on the error node, and retrieve the previous node the token was in and store it as a process variable.

          After completion of the node, you can use this variable to get back to where you came from.

          But isn't a global exception handler easier to work with instead of the error node?