6 Replies Latest reply on May 8, 2006 4:14 PM by Konstantin Kolev

    TaskInstance.end("XXXX") within Action

    shahzad bhatti Newbie

      I have some tasks defined in task-node as
      <task-node ...

      <state name='error'

      I access taskInstance from the action class which is created upon node entry and then in case of error I would like to jump to error state without executing rest of tasks in all other task-nodes. I call end("error") within the action class but it's not jumping to the error state. Instead after calling
      when I check executionContext.getProcessInstance().getRootToken().getNode() it shows same node that I am executing.

      Thanks in advance.