I was wondering: can I shelve alarms via mail? I mean if I click on a link in the mail (the alarm notification mail) I want the alarm to go to ‘sleep’ for a set amount of time before I get the next mail (if the alarm is still active).
If that’s possible, stop reading here! (And please help me on my way if you can!)
I’ve recently started adding alarms to my Ignition project and I was also wondering about the following thing:
When an alarm occurs I receive an email after a delay of 5 seconds. After another 5 seconds the pipeline checks if the alarm was acknowledged (I can acknowledge the alarm via mail).
Was the alarm not acknowledged via mail => I get another message without delay.
Was the alarm acknowledged via mail => after a delay of 30 seconds I get another message and the loop goes on. In this case though the isAcknowledged() expression stays true so from this point on I always get a message after the delay of 30 seconds.
Is there a way to reset the isAcknowledged() property of the alarm (say after the delay of 30 seconds)? What I want to make is: if I acknowledge the alarm via mail the first time, I want to get the next message after the delay of 30 seconds. After these 30 seconds are over I want to reset the acknowledged state so the next time I get the same message I need to either acknowledge again (to get the delay of 30 secs) or not acknowledge at all (and set no delay for the next message). And so on… until the alarm is cleared automaticly.