cancel
Showing results for 
Search instead for 
Did you mean: 

boundary timer event, timer cycle

shreejitray
Champ in-the-making
Champ in-the-making
Hi,
    I am designing a feature where if the process is pending on a user task for a certain amount of time a service task should be executed on repeat after a preset time duration. I am aware of activiti's boundary timer event configuration as

boundaryEvent id="sendReminder" name="Timer" attachedToRef="sendRemindermail" cancelActivity="false">
      <timerEventDefinition>
        <timeCycle>R5/PT30S</timeCycle>
      </timerEventDefinition>
    </boundaryEvent>
  
But in my case I face an error saying unable to parse cron expression R5/PT30S.

It seems my configuration is only configured to accept cron expression and not ISO8016 time duration expressions. "Time duration" and "time date" fields accept ISO8016 expression but "timer cycle" field only accepts cron expression.
Please help me figure out how to enable my activiti to accept ISO8016 time duration expression in "timer cycle field".
1 REPLY 1

cjose
Elite Collaborator
Elite Collaborator
Hi,
The timer cycle event accepts the format you trying to put. See http://www.activiti.org/userguide/#timerEventDefinitions.

Regards,