# Alarm priority configuration (Indirect tag binding of priority property to make it dynamic)

**URL:** <https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996>\
**Category:** Ignition\
**Tags:** ignition81, vision, perspective\
**Created:** [September 13, 2022, 8:05am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996 "2022-09-13T08:05:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahad\_Imtiaz](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Ahad\_Imtiaz](https://forum.inductiveautomation.com/u/Ahad_Imtiaz)\
**Post date:** [September 13, 2022, 8:05am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996/1 "2022-09-13T08:05:38Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/e/ae3020f47a1dc6dff91b9f1182fc542b2a512aa1.png)

I have binded alarm props to different tags so that I can make it dynamic and change them directly from the vision screen.

These properties are linked:

Enabled → Linked to a boolean memory tag (Working fine)  
Priority → Linked to a string memory tag (Not working)  
Setpoint → Linked to integer memory tag (Working fine)

The problem is only with the priority. When I change the value in the string memory tag, it does not change the value in the alarm property.

Whereas I have done similar binding with the enable and setpoint properties of alarm with their memory tags and they are working.

What might be the issue?

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 13, 2022, 8:36am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996/2 "2022-09-13T08:36:00Z")

</div>

The alarm priority there must be an integer as far as I know, as that is an enumeration.

[Tag Alarm Properties - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/Tag+Alarm+Properties)

The top table indicates the string values:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/1/d1a5eb351f3510c93dbc62c5770810b4ea96bad8.png)

The bottom indicates the ordinals:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/d/5d7cd4ba3108878c4df18be0df552d7a4c246a5c.png)

This something that can be cleared up in the docs, as it can currently cause some confusion.

---

<div class="post-metadata">

**Author:** ![Ahad\_Imtiaz](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Ahad\_Imtiaz](https://forum.inductiveautomation.com/u/Ahad_Imtiaz)\
**Post date:** [September 13, 2022, 9:02am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996/3 "2022-09-13T09:02:14Z")

</div>

I tired to pass integers but did not worked. Priority value does not change.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 13, 2022, 9:09am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996/4 "2022-09-13T09:09:54Z")

</div>

I use an expression binding to integer priorities extensively and it does work. I have tested this with a tag binding and it works.

Keep in mind that the binding does not evaluate continuously and changing the priority has no effect until the alarm transitions to active

---

<div class="post-metadata">

**Author:** ![Ahad\_Imtiaz](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Ahad\_Imtiaz](https://forum.inductiveautomation.com/u/Ahad_Imtiaz)\
**Post date:** [September 13, 2022, 9:56am UTC](https://forum.inductiveautomation.com/t/alarm-priority-configuration-indirect-tag-binding-of-priority-property-to-make-it-dynamic/63996/5 "2022-09-13T09:56:01Z")

</div>

Yes you are right. The priority only changes when the alarm is active. I was able to change the priority with that same string memory tag. Thanks.
