# Reading alarm Display Path in script console

**URL:** <https://forum.inductiveautomation.com/t/reading-alarm-display-path-in-script-console/29982>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [November 15, 2019, 6:41am UTC](https://forum.inductiveautomation.com/t/reading-alarm-display-path-in-script-console/29982 "2019-11-15T06:41:09Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [November 15, 2019, 8:17pm UTC](https://forum.inductiveautomation.com/t/reading-alarm-display-path-in-script-console/29982/9 "2019-11-15T20:17:06Z")

</div>

Unfortunately not - the problem is we can't "know" what your expression is without parsing it...and we can't parse it without having the "context" of an actual alarm to evaluate within...and if we faked an alarm context, then you might get unexpected values on the evaluation. It's a real chicken and egg problem.

Someone else tried to do pretty much what you're trying to do and documented their efforts here:

> [@Evaluate Expression Language in Script](http://forum.inductiveautomation.com/t/evaluate-expression-language-in-script/15012/6):
>
> @JMcguigan I don’t think that will work for us, because many of the expressions have relative tag paths. @pturmel Thats useful to know. Thanks for clarifying. Should I be able to use that from a normal script or would I have to create an Ignition module for it?

And created a feature request:

> **[Create a Script Function to Evaluate an expression. | Ignition Features and...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/create-a-script-function-to-evaluate-an-expression)**
>
> I am trying to evaluate some "Expression Language" expressions in a script. But I dont see a good way to do this.

---

_[View the full topic](https://forum.inductiveautomation.com/t/reading-alarm-display-path-in-script-console/29982)._
