cancel
Showing results for 
Search instead for 
Did you mean: 

Process Timer: Create an infinite loop?

chrisx_212
Champ in-the-making
Champ in-the-making
Hello. I'd like to know how to make a timer flow that goes infinitely in process. I know it has something to do with the Time Cycle and Time Duration… but how do I set it that it runs infinitely per… shall we say, 1 day/24 hours? How do I set the Time Cycle and Time Duration?

Thanks
3 REPLIES 3

vasile_dirla
Star Contributor
Star Contributor
See: http://www.activiti.org/userguide/#timerEventDefinitions

For example: R/2015-10-01T11:00:00/PT24H will trigger indefinitely this event every 24 hours starting with 2015-10-01T11:00:00.

So…. what if I want to repeat it every five minutes right as the process is started? I think it would be R/5M. However… where do I put that: Time Duration or Time Cycle?

jbarrez
Star Contributor
Star Contributor
Use a cron expression to define what time you want it to be fired. In cron, it's easy to express 'forever'.