# UDT alarm custom property

**URL:** <https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 12, 2022, 7:15pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520 "2022-05-12T19:15:52Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 12, 2022, 7:15pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/1 "2022-05-12T19:15:52Z")

</div>

Hi All,

I have UTD for which I have a custom property ‘asset\_id’.

I then configured an alarm on a tag withing the UDT which also has a custom property ‘asset\_id’ which I want bound to the UDT’s ‘asset\_id’.

Is there a way to do this?

In trying to solve my issue in another way, I found that the expression language does not function on tags or tag custom properties the same as if they were on say a vision component. For instance, if I try create a tag within my UDT who’s value is `split({PathToParentFolder}, "/")[3, 'parts']` it doesn’t work as expected.

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [May 12, 2022, 8:50pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/2 "2022-05-12T20:50:44Z")

</div>

Can you just try putting {asset\_id} there?

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 12, 2022, 8:58pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/3 "2022-05-12T20:58:31Z")

</div>

Yea I tried that - no dice

---

<div class="post-metadata">

**Author:** ![Gaurav.Shitole](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gaurav.shitole/32/72050_2.png) [@Gaurav.Shitole](https://forum.inductiveautomation.com/u/Gaurav.Shitole)\
**Post date:** [May 12, 2022, 9:00pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/4 "2022-05-12T21:00:28Z")

</div>

Okay can you create one memory expression tag linked to the UDTs property and have alarms property referring to that expression tag?

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 12, 2022, 9:03pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/5 "2022-05-12T21:03:53Z")

</div>

Tried that too - Like I say, I think expressions don’t work exactly like they do in Vision - not sure if this is intended or not

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [May 12, 2022, 10:34pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/6 "2022-05-12T22:34:42Z")

</div>

Try `{[.].asset_id}`:  
 ![Custom Prop from Alarm Associated Data](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/a/9acd3a803f23b53479f12a3d36300b572b01d5b5.gif)

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 17, 2022, 4:50pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/7 "2022-05-17T16:50:44Z")

</div>

I thought that worked for me but having tested more it doesn’t. @kcollins, how does one create those videos so I can show my configuration?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 17, 2022, 5:18pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/8 "2022-05-17T17:18:21Z")

</div>

If you’re on Windows, ShareX is FOSS and can screen record to GIF.

On MacOS, I like Kap (also FOSS), but others may have more informed opinions.

On Linux, I dunno, use `ffmpeg` or something 😆

---

<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:** [May 17, 2022, 6:02pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/9 "2022-05-17T18:02:57Z")

</div>

> [@paul-griffith](#):
>
> On Linux, I dunno, use `ffmpeg` or something

That's exactly what I do.

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [May 24, 2022, 7:30pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/10 "2022-05-24T19:30:42Z")

</div>

Hi Guys,

Sorry, wasn’t able to get to this until now. As you can see, the ‘label’ alarm property isn’t coming through to the email notification.

@kcollins

UDT Alarm Tag Configuration:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/c/bca0cd28761a6de5a8c56ac0f4e4fbb82809f90e.png)

UDT Instance:

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

Alarm Pipeline:

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

Email Notification:

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

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [June 6, 2022, 9:34pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/11 "2022-06-06T21:34:04Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![dion.botha](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dion.botha](https://forum.inductiveautomation.com/u/dion.botha)\
**Post date:** [July 20, 2022, 10:26pm UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/12 "2022-07-20T22:26:43Z")

</div>

Submitted a ticket to IA support. Keaton Elliott helped me realize the alarm ‘Label’ property and ‘asset\_name’ custom property needs to be expression syntax.

Like:  
Label property: `{asset_name} + ' Error'`  
asset\_name custom property: `{[.].asset_name} + '_p' + {InstanceName}`

Now works as expected!

---

<div class="post-metadata">

**Author:** ![David\_Lopez](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@David\_Lopez](https://forum.inductiveautomation.com/u/David_Lopez)\
**Post date:** [April 30, 2025, 2:04am UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/13 "2025-04-30T02:04:17Z")

</div>

Hello everyone!

I'm facing a similar issue. I would like to access a Custom Property value using an Expression Tag. I've tried `{asset_name} ` and `{[.].asset_name}` to get "CustomTest" text

![java_V7LEVqGGUD](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/c/eca8041154041d0be68f580fc9473ffdfff7e903.gif)

---

<div class="post-metadata">

**Author:** ![David\_Lopez](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@David\_Lopez](https://forum.inductiveautomation.com/u/David_Lopez)\
**Post date:** [April 30, 2025, 2:08am UTC](https://forum.inductiveautomation.com/t/udt-alarm-custom-property/59520/14 "2025-04-30T02:08:57Z")

</div>

Nevermind, using `{[.]Test.asset_name}` worked !
