# Does component Alarm Status Table not have a property for total alarms?

**URL:** <https://forum.inductiveautomation.com/t/does-component-alarm-status-table-not-have-a-property-for-total-alarms/56641>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 28, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/does-component-alarm-status-table-not-have-a-property-for-total-alarms/56641 "2022-02-28T20:05:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BVong](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@BVong](https://forum.inductiveautomation.com/u/BVong)\
**Post date:** [February 28, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/does-component-alarm-status-table-not-have-a-property-for-total-alarms/56641/1 "2022-02-28T20:05:59Z")

</div>

I didn’t like the overhead that came along with the filterAlarm event. I ended up going with the the conditions property to a source that will populate the alarms status table. This works and will update the label next to the alarm icon with the value of Alarms.

I don’t want to use the system.alarm.queryStatus(). Seems like the table component already has the current number of alarms working and why not build on that?

Using getChildren() I can’t seem to find the value of the text that gets updated when an alarm is active.

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [March 1, 2022, 1:39am UTC](https://forum.inductiveautomation.com/t/does-component-alarm-status-table-not-have-a-property-for-total-alarms/56641/2 "2022-03-01T01:39:24Z")

</div>

I don’t see a property for the total alarms. `system.alarm.queryStatus()` or directly querying the alarm tables is likely what you will have to do. Of the two the direct query is probably going to be the most performant since you can just have it return an integer.

---

<div class="post-metadata">

**Author:** ![BVong](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@BVong](https://forum.inductiveautomation.com/u/BVong)\
**Post date:** [March 1, 2022, 3:24am UTC](https://forum.inductiveautomation.com/t/does-component-alarm-status-table-not-have-a-property-for-total-alarms/56641/3 "2022-03-01T03:24:41Z")

</div>

I was able to get somewhat close with this:  
num = len(system.alarm.queryStatus(state=[ActiveAcked],source=‘_default_’))|

Outside of the Extension Functions of filterAlarm does anyone know if the Alarm Status Table raises an event that I can use?
