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?
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
Sounds like there's a chance you'll need six timers rather than two. Do let us know how you get on.
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.
Actually you can use cron expressions too. See Activiti User Guide
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)
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.