# Alarm display path formatting

**URL:** <https://forum.inductiveautomation.com/t/alarm-display-path-formatting/12273>\
**Category:** Ignition\
**Created:** [October 24, 2016, 11:15am UTC](https://forum.inductiveautomation.com/t/alarm-display-path-formatting/12273 "2016-10-24T11:15:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philcr](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Philcr](https://forum.inductiveautomation.com/u/Philcr)\
**Post date:** [October 24, 2016, 11:15am UTC](https://forum.inductiveautomation.com/t/alarm-display-path-formatting/12273/1 "2016-10-24T11:15:55Z")

</div>

Hello,

I have a UDT containing an expression tag, in which I have 7 “Bit State” alarms. I try to change the display path of these alarm with this expression script:

```auto
split({itemPath},'/')[1,0] + " " + "CNV" + {InstanceName} + " " + {name}
```

For some reason this works for some instance, and for other it doesn’t. Also, the last alarm would not accept any expression. When I write something in it and press apply, the expression erase itself. Could someone enlighten me?

---

<div class="post-metadata">

**Author:** ![Philcr](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Philcr](https://forum.inductiveautomation.com/u/Philcr)\
**Post date:** [October 24, 2016, 5:45pm UTC](https://forum.inductiveautomation.com/t/alarm-display-path-formatting/12273/2 "2016-10-24T17:45:57Z")

</div>

Solved. I deleted the alarm, applied the changes, closed the UDT, reopened the UDT, recreated the alarm, and everything worked.
