9 Replies Latest reply on Feb 17, 2009 12:09 PM by Sara Rodríguez Dorrego

    Timer repetition problem

    Sara Rodríguez Dorrego Novice

      Hello, I've a doubt. I would loke to build a timer. So I made a process definition and to try it I use a junit class. With the following code the action of the timer is executing:

      Token token=instance.getRootToken();
      CreateTimerAction createTimerAction = (CreateTimerAction) event.getActions().get(0);
      Action timerAction = createTimerAction.getTimerAction();
      ExecutionContext ex=new ExecutionContext(token);
      timerAction.execute(ex);
      


      I would like that my timer was executed each 10 seconds. But It is only executed once. How could I get timer were executed each 10 seconds??


      Thanks,