# Alarm Notification

**URL:** <https://forum.inductiveautomation.com/t/alarm-notification/12564>\
**Category:** Ignition\
**Created:** [January 16, 2017, 12:38pm UTC](https://forum.inductiveautomation.com/t/alarm-notification/12564 "2017-01-16T12:38:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HALW80](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@HALW80](https://forum.inductiveautomation.com/u/HALW80)\
**Post date:** [January 16, 2017, 12:38pm UTC](https://forum.inductiveautomation.com/t/alarm-notification/12564/1 "2017-01-16T12:38:09Z")

</div>

Have a new system with almost 300 alarms  
Looking for way to:

1. allow user to enable/disable an alarm from been sent out as an SMS, still needs to show in alarm status
2. Depending on Alarm Priority and time of day if the SMS is sent e.g so only Critical alarms outside of working hours. User needs also be able change priority of alarm  
Need to make it dynamic rather than creating 300 enable SMS tags

---

<div class="post-metadata">

**Author:** ![Aaron.Huffman](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Aaron.Huffman](https://forum.inductiveautomation.com/u/Aaron.Huffman)\
**Post date:** [February 10, 2017, 7:34pm UTC](https://forum.inductiveautomation.com/t/alarm-notification/12564/2 "2017-02-10T19:34:50Z")

</div>

> [@](#):
>
> 1. allow user to enable/disable an alarm from been sent out as an SMS, still needs to show in alarm status

You should be able to accomplish something like this with a script block within your alarm pipeline that calls event.cancelNotification() based on a condition. The first thought that comes to mind is to use alarm associated data or, yes, an "Enable SMS" tag. What do you mean when you say this needs to be dynamic? How were you hoping to have your window configured?

> [@](#):
>
> 2. Depending on Alarm Priority and time of day if the SMS is sent e.g so only Critical alarms outside of working hours. User needs also be able change priority of alarm

An expression, switch, or script block could accomplish this. As for changing the priority of an alarm, you can do that via scripting, using system.tag.editAlarmConfig().
