cancel
Showing results for 
Search instead for 
Did you mean: 

End date + Interval in timerDefinition

hyapit
Champ in-the-making
Champ in-the-making
Hello,

I would like to run repeated timer process with both specified end date and intervals. For example: I would like to create a task instance weekly ( every 7 days ) starting from Jan 2, 2013 ( start date ) and April 20, 2013. ( end date ). So it should fire at 1/2/2013, 1/9/2013 …. and stops at 4/20/2013

From the docs, it doesn't appear that Activiti supports this.  Advice? Thoughts?

Thanks!
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Only thing I can think of is to calculate the number or times it should be repeated (so (endDate - startDate) / interval or some similar calculation). This way, you can ask the timer to only repeat X times, where the last time will be on you're end date.
Welcome to the new Hyland Connect. Get started or submit feedback.