How can I create a periodic e-mail notification?

I'm trying to send a notification every 4 hours, using System Explorer and Notification Service.

The way I'm trying to do it is by getting the mod between the current hour and 4 (when the rest of the division is 0). The analysis I created can be seen in the image:


image.png.png
This analysis is runnin periodically (every 1 hour) and it should send an e-mail every 4 fours, but currently is not sending any e-mail.

Parents
  • The issue is your True for setting. You can either remove that, or decrease your periodic frequency to say 30 minutes. With Periodic scheduling, the analysis will only evaluate at the time specified in the schedule, irrespective of the True for setting. True for evaluation in this case will be the first periodic evaluation following the end of True for period. Any values that were not captured on periodic schedule evaluations will not be considered.

    So in your case, when it runs at say noon, it "notices" that the trigger is true. But since it has the time true setting on (even just to 1 minute), it waits until the next scheduled evaluation after +1m, to see if the trigger condition is still valid. In your case, it's 1 PM, which the condition is no longer true.

    Hope that helps!

Reply
  • The issue is your True for setting. You can either remove that, or decrease your periodic frequency to say 30 minutes. With Periodic scheduling, the analysis will only evaluate at the time specified in the schedule, irrespective of the True for setting. True for evaluation in this case will be the first periodic evaluation following the end of True for period. Any values that were not captured on periodic schedule evaluations will not be considered.

    So in your case, when it runs at say noon, it "notices" that the trigger is true. But since it has the time true setting on (even just to 1 minute), it waits until the next scheduled evaluation after +1m, to see if the trigger condition is still valid. In your case, it's 1 PM, which the condition is no longer true.

    Hope that helps!

Children
No Data