# Custom Tag Property in Alarm

**URL:** <https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 15, 2023, 2:52pm UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869 "2023-08-15T14:52:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [August 15, 2023, 2:52pm UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/1 "2023-08-15T14:52:15Z")

</div>

How do I access a custom tag property within the alarm configuration.

For instance, a custom property "valveNum" (Integer) on a tag, I have the alarm message

```auto
"VM"+{Manifold_Number}+" Valve 1 Failed to Open"

```

But I want something like

```auto
"VM"+{Manifold_Number}+" Valve "+{this.valveNum}+" Failed to Open"

```

---

<div class="post-metadata">

**Author:** ![liliana\_Wong](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/liliana_wong/32/44032_2.png) [@liliana\_Wong](https://forum.inductiveautomation.com/u/liliana_Wong)\
**Post date:** [August 15, 2023, 8:58pm UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/2 "2023-08-15T20:58:03Z")

</div>

> [@amarks](#):
>
> custom tag property within the alarm configuration.
> 
> For instance, a custom property "valveNum" (Integer) on a tag, I h

Hi Amarks,

I am on version 8.1.28 for this example, after creating a custom property on the tag, I created an expression binding on the alarm display path. You can also have this binding for the other messages depending on your device.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/6/76b397ef68ecac9ebe74cbdff6a29e5eb463231b.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/701fbfbd277d9e048523b475fddd0c89138ef943.png)

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [August 15, 2023, 9:00pm UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/3 "2023-08-15T21:00:23Z")

</div>

Thanks, it looks like `Customproperty` is a string type. In this case, is the value of the prop `" from custom property"` (with the quotes)?

---

<div class="post-metadata">

**Author:** ![liliana\_Wong](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/liliana_wong/32/44032_2.png) [@liliana\_Wong](https://forum.inductiveautomation.com/u/liliana_Wong)\
**Post date:** [August 16, 2023, 9:17pm UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/4 "2023-08-16T21:17:56Z")

</div>

Hello,

Yes you are correct, I just use that string with quotes as a test variable for my custom property.

---

<div class="post-metadata">

**Author:** ![ziad](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ziad/32/6841_2.png) [@ziad](https://forum.inductiveautomation.com/u/ziad)\
**Post date:** [April 8, 2024, 2:41am UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/5 "2024-04-08T02:41:14Z")

</div>

Do you know if the Display Path is supposed to continue to update as the reference value updates? Or should it freeze from when the event occurred? I'm seeing conflicting answers and results in different versions.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 8, 2024, 2:43am UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/6 "2024-04-08T02:43:54Z")

</div>

> [@ziad](#):
>
> freeze from when the event occurred

This. As with all alarm property bindings.

---

<div class="post-metadata">

**Author:** ![ziad](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ziad/32/6841_2.png) [@ziad](https://forum.inductiveautomation.com/u/ziad)\
**Post date:** [April 8, 2024, 3:49am UTC](https://forum.inductiveautomation.com/t/custom-tag-property-in-alarm/77869/7 "2024-04-08T03:49:53Z")

</div>

Thanks @pturmel, I have just verified this as well. The issue we have is that we are referencing a tag value into an associated data of an alarm. And then referencing the associated data in the display path expression. The trouble is that it executes the display path binding first. Which means that it ends up showing old values of associated data. We have to reference the tag in the display path expression directly. It seemed like a good idea to reference the associated data so that the reference isn't made twice.
