1 Reply Latest reply on Sep 18, 2008 6:42 AM by Ronald van Kuijk

    Asked a simple question.

    Liu jian Newbie

      in jbpm

      ProcessInstance pi;

      pi.signal ( "transitionName");

       And TaskInstance ti = it.next ();

      ti.end ( "transitionName");

      What is the difference between!

        • 1. Re: Asked a simple question.
          Ronald van Kuijk Master

          lots... if the taskInstance is blocking, the pi.signal one will not make the process advance. If it is non-blocking, the process advances but leaves the task open. The ti.end will end the task instance in a node and signal the process to advance IF the task was 'signalling' and there are no more non-blocking tasks.

          So both operate on a different level