# Limited alarming

**URL:** <https://forum.inductiveautomation.com/t/limited-alarming/8330>\
**Category:** Ignition\
**Created:** [April 17, 2014, 5:42pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330 "2014-04-17T17:42:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [April 17, 2014, 5:42pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/1 "2014-04-17T17:42:28Z")

</div>

I am using Ignition 7.6.3 onward and I would like to write an INSERT query every time a tag changes.  
I can do this without the Alarm notification module, correct?

---

<div class="post-metadata">

**Author:** ![adamaustin](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@adamaustin](https://forum.inductiveautomation.com/u/adamaustin)\
**Post date:** [April 17, 2014, 5:47pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/2 "2014-04-17T17:47:24Z")

</div>

Try using the [Gateway Tag Change](http://inductiveautomation.com/support/usermanuals/ignition/tag_change_scripts.htm) event scripts.

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [April 17, 2014, 6:33pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/3 "2014-04-17T18:33:37Z")

</div>

Can’t I use the alarming right on the SQLtags and trigger an expression to write a query?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 17, 2014, 6:39pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/4 "2014-04-17T18:39:32Z")

</div>

???

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [April 17, 2014, 7:52pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/5 "2014-04-17T19:52:24Z")

</div>

something like this:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2f0984456f8dd47c5beb0a68b72c3d6cf62ef2aa.jpeg)

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [April 17, 2014, 8:34pm UTC](https://forum.inductiveautomation.com/t/limited-alarming/8330/6 "2014-04-17T20:34:33Z")

</div>

Hey,

No, the first suggestion for a tag change script would be the way to go. What you’re doing with the alarm is not really going to work like you expect. That is going to be executed any time the alarm data is “captured”, which will be multiple times per alarm.

Regards,
