# Tag Alarm Status

**URL:** <https://forum.inductiveautomation.com/t/tag-alarm-status/6802>\
**Category:** Ignition\
**Created:** [July 1, 2013, 6:27pm UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802 "2013-07-01T18:27:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [July 1, 2013, 6:27pm UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802/1 "2013-07-01T18:27:51Z")

</div>

If I have a Level tag and I create High and Low alarms for the tag, is there a way to get the status of those alarms, i.e. Level.High or Level.Low?

---

<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:** [July 1, 2013, 8:10pm UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802/2 "2013-07-01T20:10:24Z")

</div>

In an expression, you can use the [tt]isAlarmActive(tagPath, [alarmName])[/tt] function. For example:

```auto
isAlarmActive("Level", "High")
```

In the client, the signature is “tagPath, [alarmName], [pollRate]”, so that it can poll and fire changes to other bindings.

If you leave the alarm name off, you would get whether or not there are any alarms active for the tag.

We intend to make it possible to address the alarm state directly in the future, but for now that’s not possible.

Regards,

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [July 3, 2013, 2:57pm UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802/3 "2013-07-03T14:57:51Z")

</div>

Is this a scripting function? I don’t see it listed in the manual for 7.6.2-rc4

---

<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:** [July 9, 2013, 11:12pm UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802/4 "2013-07-09T23:12:08Z")

</div>

It’s an expression function. For scripting, you would use queryAlarmStatus and the like. Looks like it’s not showing up in the manual, I’ll have to look into it…

Regards,

---

<div class="post-metadata">

**Author:** ![alexanderfalinsky](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@alexanderfalinsky](https://forum.inductiveautomation.com/u/alexanderfalinsky)\
**Post date:** [October 25, 2018, 3:25am UTC](https://forum.inductiveautomation.com/t/tag-alarm-status/6802/5 "2018-10-25T03:25:21Z")

</div>

Use **system.alarm.queryStatus**

Forum: [http://forum.inductiveautomation.com/t/system-alarm-querystatus-on-associated-data/15360/2](http://forum.inductiveautomation.com/t/system-alarm-querystatus-on-associated-data/15360/2)

Docs: [https://docs.inductiveautomation.com/display/DOC79/system.alarm.queryStatus](https://docs.inductiveautomation.com/display/DOC79/system.alarm.queryStatus)
