# Alarm Priority not working in Tag Binding

**URL:** <https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 17, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290 "2022-02-17T23:05:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven.gyllich](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@steven.gyllich](https://forum.inductiveautomation.com/u/steven.gyllich)\
**Post date:** [February 17, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290/1 "2022-02-17T23:05:00Z")

</div>

I cannot seem to get a tag binding to work correctly when looking at the /Alarm.Priority value of a tag.

Tag Path:  
[default]10 Fuel Infeed/10-LSH-510/Alm/Alarms/Alarm.Priority

Map Transform:  
Input Type: Value = “High”, Output Type: Value = True

Binding Preview:  
Tag value = High, Map value = False

---

<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:** [February 17, 2022, 11:53pm UTC](https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290/2 "2022-02-17T23:53:39Z")

</div>

Hmm, not sure what is going on here. It appears the priority is really a number, but that doesn’t work in the binding either.  
1 = Diagnostic  
2 = Low  
3 = Medium  
4 = High  
5 = Critical  
The only thing way i could do what you wanted with two bindings, on a label i created a custom binding to the priority with no transform. On the text property i created the transform you have, which worked but i want to say you shouldn’t have to do this.

---

<div class="post-metadata">

**Author:** ![steven.gyllich](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@steven.gyllich](https://forum.inductiveautomation.com/u/steven.gyllich)\
**Post date:** [February 18, 2022, 12:34am UTC](https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290/3 "2022-02-18T00:34:54Z")

</div>

After a bit more messing about I was able to get this to work but it only seems to work in an Expression Binding.

If ([default]10 Fuel Infeed/10-LSH-510/Alm/Alarms/Alarm.Priority=“High”,True,False)

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [February 18, 2022, 3:22pm UTC](https://forum.inductiveautomation.com/t/alarm-priority-not-working-in-tag-binding/56290/4 "2022-02-18T15:22:18Z")

</div>

I “THINK” a regular tag binding doesn’t have access to that level. This is why the expression worked. But I’m really not sure someone else would have to confirm
