# \[SOLVED\] How to use parameters in an alarm expression on a UDT?

**URL:** <https://forum.inductiveautomation.com/t/solved-how-to-use-parameters-in-an-alarm-expression-on-a-udt/54839>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [January 10, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/solved-how-to-use-parameters-in-an-alarm-expression-on-a-udt/54839 "2022-01-10T16:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [January 10, 2022, 4:52pm UTC](https://forum.inductiveautomation.com/t/solved-how-to-use-parameters-in-an-alarm-expression-on-a-udt/54839/1 "2022-01-10T16:52:30Z")

</div>

Good morning,

I can’t seem to solve this problem. I have a UDT with 100 instances of my tag and each tag has some string and integer parameters.

I add an alarm Expression that uses the parameters.

```auto
#Source is a string parameter
#Path is an integer parameter
{Source} + " path " + {Path} + " active for too long."
```

However, this evaluates to a full path

```auto
prov:myProvider:/tag:somePath/Path/4/Paths_Timer:/alm:Paths_Timer 4 active for too long.
```

But what I really want is this:

```auto
North path 0 active for too long
```

Thoughts on what is wrong with my syntax?

---

<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:** [January 10, 2022, 10:28pm UTC](https://forum.inductiveautomation.com/t/solved-how-to-use-parameters-in-an-alarm-expression-on-a-udt/54839/2 "2022-01-10T22:28:01Z")

</div>

You are using parameter names that have predefined meanings. Don’t use those names.
