0 Replies Latest reply on Oct 3, 2006 2:44 AM by Alfred Lee

    Timer ending process instance?

    Alfred Lee Newbie

      I have a requirement to start a timer when a process instance begins, and if the process does not go to an end-state within a stipulated time, the timer is to bring the process instance to a premature end.

      Can this be done at all? So far I have experimented with doing

      executionContext.getToken().setNode("end node");
      


      at MyTimerActionHandler.execute() method, but it doesn't work. I get a hibernate exception during persistence of the jbpm context.

      any help?