# Tag Scripting - Alarm Active Event Never Fires

**URL:** <https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 16, 2023, 12:32am UTC](https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126 "2023-03-16T00:32:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaron\_Hafso](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jaron\_Hafso](https://forum.inductiveautomation.com/u/Jaron_Hafso)\
**Post date:** [March 16, 2023, 12:32am UTC](https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126/1 "2023-03-16T00:32:14Z")

</div>

I’m experiencing a (UDT) tag that has frequently been in alarm but has never triggered an Alarm Active Event. I’ve reduced the script down to a simple log entry, but still no luck.

 ![Alarm Active](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/3/e300aa7612c6951388219dcf0181bbb361f8ad12.png)

The alarm will appear in the Alarm Status table, but no log entry in the gateway logs.

Are there other dependencies? What am I missing?

---

<div class="post-metadata">

**Author:** ![amy.sudibyo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amy.sudibyo/32/38659_2.png) [@amy.sudibyo](https://forum.inductiveautomation.com/u/amy.sudibyo)\
**Post date:** [March 16, 2023, 2:21am UTC](https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126/2 "2023-03-16T02:21:14Z")

</div>

I have tried this on my local gateway and it seems to work ok.

Do you have any filters on your gateway log and do you have live values on? (Not that these are likely to be the issue, but worth checking). When you're looking at the gateway log are you looking at the same time window that your alarm occurred? Can you force an alarm condition so that you can watch the gateway for the log entry to appear?

---

<div class="post-metadata">

**Author:** ![Jaron\_Hafso](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jaron\_Hafso](https://forum.inductiveautomation.com/u/Jaron_Hafso)\
**Post date:** [March 16, 2023, 4:04pm UTC](https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126/3 "2023-03-16T16:04:10Z")

</div>

All good points – thanks! No filters on the log and live values are on. Other log entries are received as expected. The alarm can be forced – but still no luck in the logs.

There are five alarms on this tag. I’m assuming only one alarm needs to trigger for this event to fire.

---

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [January 8, 2024, 10:54pm UTC](https://forum.inductiveautomation.com/t/tag-scripting-alarm-active-event-never-fires/71126/4 "2024-01-08T22:54:50Z")

</div>

Did you figure anything out with this issue? I am having a similar one and am having issues troubleshooting.
