3 Replies Latest reply on Sep 10, 2011 10:14 PM by Mauricio Salatino

    Which class executes the graph

    Tobias Wittur Newbie



      in activiti, there is a class Execution.


      This class

      • keeps track of the current position of execution in a process flow during runtime (with a node pointer)
      • it knows how to interpret the process graph
      • it has a proceed method that takes the next transition, follows it up into the next destination node and invokes the node execution.


      Where would I find this logic in jBPM. ? Is this part of a process instance?


      I found this:


      ProcessInstance processInstance = ksession.startProcess("some.process");

      Returns the first node when a process is waiting:



      So obviously the processInstance has knowledge about the current active nodes...


      Source: here



      Best regards,