Aggregate UDT Alarms

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.

Use this in an expression tag.

https://docs.inductiveautomation.com/display/DOC81/isAlarmActiveFiltered

Exactly what I needed. That worked perfectly. Thanks