# Aggregate UDT Alarms

**URL:** <https://forum.inductiveautomation.com/t/aggregate-udt-alarms/81934>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 15, 2023, 4:48pm UTC](https://forum.inductiveautomation.com/t/aggregate-udt-alarms/81934 "2023-11-15T16:48:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Britton1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@Jay\_Britton1](https://forum.inductiveautomation.com/u/Jay_Britton1)\
**Post date:** [November 15, 2023, 4:48pm UTC](https://forum.inductiveautomation.com/t/aggregate-udt-alarms/81934/1 "2023-11-15T16:48:50Z")

</div>

Hi everyone, Have an interesting problem I need some advice on.

I have a UDT with 3 tags. Each tag has 2 alarms. One low priority and one high priority.

What I want to do is add an expression (or other tag type) to the UDT that is an aggregate of the 6 alarms where 0=no alarms active, 1=any low priority is active, 2=any high priority is active.

Not sure how to write this expression or if there is a better way of doing this.

Thanks.

 ![udt](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f7b0eaaf164da32c1bb1fd1334f074d29e7e4c74.png)

---

<div class="post-metadata">

**Author:** ![kyler.kamyszek](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kyler.kamyszek](https://forum.inductiveautomation.com/u/kyler.kamyszek)\
**Post date:** [November 15, 2023, 6:37pm UTC](https://forum.inductiveautomation.com/t/aggregate-udt-alarms/81934/2 "2023-11-15T18:37:52Z")

</div>

Use this in an expression tag.

[https://docs.inductiveautomation.com/display/DOC81/isAlarmActiveFiltered](https://docs.inductiveautomation.com/display/DOC81/isAlarmActiveFiltered)

---

<div class="post-metadata">

**Author:** ![Jay\_Britton1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@Jay\_Britton1](https://forum.inductiveautomation.com/u/Jay_Britton1)\
**Post date:** [November 15, 2023, 9:23pm UTC](https://forum.inductiveautomation.com/t/aggregate-udt-alarms/81934/3 "2023-11-15T21:23:23Z")

</div>

Exactly what I needed. That worked perfectly. Thanks
