# Determine if any tag in folder is in alarm

**URL:** <https://forum.inductiveautomation.com/t/determine-if-any-tag-in-folder-is-in-alarm/78522>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 29, 2023, 4:07pm UTC](https://forum.inductiveautomation.com/t/determine-if-any-tag-in-folder-is-in-alarm/78522 "2023-08-29T16:07:15Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![zbinder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zbinder/32/28918_2.png) [@zbinder](https://forum.inductiveautomation.com/u/zbinder)\
**Post date:** [September 1, 2023, 1:52pm UTC](https://forum.inductiveautomation.com/t/determine-if-any-tag-in-folder-is-in-alarm/78522/10 "2023-09-01T13:52:45Z")

</div>

I've experienced difficulties doing what I wanted with isAlarmActive() a while ago, though I can't recall exactly what they were.

If you do decide to go the Python route, this post contains a great example of how to get more mileage out of system.alarm.queryStatus().

> [@Active alarm in area?](https://forum.inductiveautomation.com/t/active-alarm-in-area/41892/5):
>
> I use a UDT for this in Ignition that gets a summary of alarms based on where the UDT is located. UDT json is attached [Area Alarms.json](https://forum.inductiveautomation.com/uploads/short-url/qkjv7KDjjTvoyFCq6zCNnWNoXpi.json) (2.7 KB). You’ll need this script as well to summarise the alarms, put under a script library called shared.alarms: def getAlarmSummary(filterPath='\*'): if filterPath.find(']') != -1: filterPath = filterPath.split(']')[1] alarms = system.alarm.queryStatus(priority=[1,2,3,4], state=['ActiveAcked','ClearUnacked','ActiveUnacked'], path=['\*:…

---

_[View the full topic](https://forum.inductiveautomation.com/t/determine-if-any-tag-in-folder-is-in-alarm/78522)._
