1 Reply Latest reply on Apr 9, 2006 5:39 AM by koen.aers

    JBPM 3.1 : Error while Transitioning to next Token.

    aryavishrut

      I'm getting an Exception : can't continue execution on locked tokens. signalling the same token that executes an action is not allowed.

      Actually I'm running a process, After I come out of one task, I do save the processInstance and then continue to the next transition.

      The code goes like this

      ......//Execute one process...Then,

      String transitionKey = "Next Transiiton";
      jbpmContext.save(ctx.getProcessInstance());
      ctx.getProcessInstance().signal(transitionKey);

      This is specific to JBPM3.1 as there you can't do begin or end transaction, When you close a JBPMContext, the transaction is automatically committed/Rolledback.

      Any help would be appreciated.