3 Replies Latest reply on Mar 1, 2007 3:16 PM by Ronald van Kuijk

    Alter the flow of a process instance

    Adrian Romero Newbie

      Hi, I need some way to alter the flow of a process instance, for example I have a process instance wich is in node A and I want to arbitrary move it to node D, node A and D don't have transitions between them. I know this doesn't respect the normal flow and is very awfull, but i need it to simulate some special behaviour. I've been searching in javadoc, and I've found that Token has a method called setNode(Node).
      So, one option would be:


      I tested it and apparently it works, although I don't know if this damages other things like logging, or if there's a better way for doing this.

      Adrian R.