0

Send reminder emails with Calcs & Events service

I have a system which contains water quality sensors that will tell the process engineers when water filters need to be changed. I have set up email alerts to notify them when the water quality meets a certain threshold. I have been asked to send follow-up reminder emails each day that the water quality is still not sufficient.

Is there a way to re-send an email alert each day that the value still hasn't changed, without creating a new event?

For example, let's say that on Tuesday at 2:15pm, the water quality indicator turns off (meaning that the filter needs to be changed). It would immediately send an email to the team, notifying them that the filters need to be changed. I would then want to send an email the following day, and each following day afterwards, that the filters still need to be changed.

Is this possible to configure an event to do this?

5 replies

null
    • smason
    • 2 mths ago
    • Reported - view

    Hi evan. dorval ,

    Our events do not send continual alerts, only at the beginning. You would have to set up another event that would monitor if the water quality is over the threshold for an extended period of time. It may be as simple as copying the event, but then making the minimum duration 1 day or however frequently you would want to send another alert.

      • evan_dorval
      • 2 mths ago
      • Reported - view

      Hey  Steve Mason , thanks for the response. Does this mean I'd need to set up a separate event for each threshold? For example, if I wanted an alert email sent out each day at 8am, would I need to set an event for 1 day, an event for 2 days, 3 days, and so on? 

      • smason
      • 2 mths ago
      • Reported - view

      evan. dorval If it is still exceeding the threshold, you would have to set up a new event for each interval: 1 day, 2 days, etc. Our events send a single notification at the start of the event. There is no functionality to send multiple alerts per event if the event is still occurring. It would have to come from another event.

      • evan_dorval
      • 2 mths ago
      • Reported - view

      Steve Mason thanks for the clarification. One other idea I had was to do some sort of calculation to set up an email alert. I could set up a modulo calculation based on the time since the value has changed. Is there a way to store the time that a value changed? I was thinking I could do something like (current time - time of value change) mod (24 hours) to trigger an event

      • smason
      • 2 mths ago
      • Reported - view

      evan. dorval There is a DurationSinceLastTVQ function that measures the amount of time (in milliseconds) since a tag received an update. This would include a value or quality change (but you can configure it to ignore quality changes). You would want to trigger it Periodically as opposed to on Value Change. If you choose Value Change, it will always output 0.

Content aside

print this pagePrint this page
  • 2 mths agoLast active
  • 5Replies
  • 32Views
  • 2 Following