# How to get a UDT parameter's value in a Calculated Roster script of a UDT Alarm pipeline notification

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-a-udt-parameters-value-in-a-calculated-roster-script-of-a-udt-alarm-pipeline-notification/41630>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [December 17, 2020, 9:17pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-udt-parameters-value-in-a-calculated-roster-script-of-a-udt-alarm-pipeline-notification/41630 "2020-12-17T21:17:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yzhang](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@yzhang](https://forum.inductiveautomation.com/u/yzhang)\
**Post date:** [December 17, 2020, 9:17pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-udt-parameters-value-in-a-calculated-roster-script-of-a-udt-alarm-pipeline-notification/41630/1 "2020-12-17T21:17:43Z")

</div>

When the UDT alarm is triggered, I want to get the parameter’s value on this instance of this UDT alarm in a script.

For example:  
The alarm is build on this tag:  
**[default]Stations/Station 6/State**  
in the Calculated Roster of this alrm, I need to get the value of this parameter: **[default]Stations/Station 6/Parameters.StationNum**  
How should I write the script? My script will never work:

faultedStationNumber = system.tag.readBlocking(["[.]/PARAMS/StationNum"])[0].value

There is an **event** argument I can use to access properties of this alarm event
