Hi Team,
I need to set a delay to the process model to trigger exactly at 00 clock. Example: If I am publishing a model at 10:36 the delay should be at 11:00 or if I'm publishing at 11:00 it should be at 11:00 itself).The requirement is simple : we keep the time recurrence at an interval of 1hr. So to maintain a proper interval gap, I planned to execute this in the delay, so that for the next time recurrence will be at 00 clock.I need help in this case.Thanks in advance
Discussion posts and replies are publicly visible
This snippet calculates the next full hour:
now() + minute() * (60 - minute(now()))
It should get the delay you are asking for. I did not test this and timers can be picky about dynamic calculations, but give it a try. I did not get an error message when I published the model.
Thank You Stefan