02-02-2018 07:32 AM
I want to set two separate activiti timer events to fire on the 20th, 23rd and 26th of each month at 5AM. One is to occur in GMT and the other in IST timezone. What would the activiti time cycles for these be?
02-02-2018 04:25 PM
Activiti supports ISO 8601 standard on boundary & start timer tasks. Check this page - ISO 8601 - Wikipedia to see if any of those notations can satisfy your needs.
Ciju
02-04-2018 10:41 AM
Sounds like there's a chance you'll need six timers rather than two. Do let us know how you get on.
02-05-2018 12:59 PM
I had a look at how to do it using ISO8601 format on the wiki page but I couldnt see a way it can support my criteria of recurring on fixed days each month. I will post my findings of further research.
02-05-2018 01:38 PM
Actually you can use cron expressions too. See Activiti User Guide
02-06-2018 10:37 AM
Cron job gives you more power..
If you like the ISO format, like Ryan said, 6 timers can also do the job in the following format.
R/${dynamically-calculate-next-20th-using expression}/P1M" (repeat this 6 times for all different start times)
Explore our Alfresco products with the links below. Use labels to filter content by product module.