# Run Expression from script

**URL:** <https://forum.inductiveautomation.com/t/run-expression-from-script/19196>\
**Category:** Ignition\
**Created:** [August 10, 2018, 12:22pm UTC](https://forum.inductiveautomation.com/t/run-expression-from-script/19196 "2018-08-10T12:22:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [August 10, 2018, 12:22pm UTC](https://forum.inductiveautomation.com/t/run-expression-from-script/19196/1 "2018-08-10T12:22:31Z")

</div>

Is it possible to run an expression from a script.  
I have a script that returns the setpoint value from an alarm property.  
What I need it the value that is shown after the expression is run.  
I have attached a snippet of the value that is returned.

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/60186b47ce2a862313658777e15df99a7a2839cc.png)

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [August 13, 2018, 3:59am UTC](https://forum.inductiveautomation.com/t/run-expression-from-script/19196/2 "2018-08-13T03:59:37Z")

</div>

It doesn’t look like is possible at the moment.  
Here’s a post that discusses it:

[http://forum.inductiveautomation.com/t/evaluate-expression-language-in-script/15012](http://forum.inductiveautomation.com/t/evaluate-expression-language-in-script/15012)

---

<div class="post-metadata">

**Author:** ![Caleb\_Bohon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/caleb_bohon/32/3293_2.png) [@Caleb\_Bohon](https://forum.inductiveautomation.com/u/Caleb_Bohon)\
**Post date:** [August 13, 2018, 2:29pm UTC](https://forum.inductiveautomation.com/t/run-expression-from-script/19196/3 "2018-08-13T14:29:14Z")

</div>

Here is a link to my feature request to add this:

[http://ideas.inductiveautomation.com/ignition-features-and-ideas/p/create-a-script-function-to-evaluate-an-expression](http://ideas.inductiveautomation.com/ignition-features-and-ideas/p/create-a-script-function-to-evaluate-an-expression)

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [August 13, 2018, 9:33pm UTC](https://forum.inductiveautomation.com/t/run-expression-from-script/19196/4 "2018-08-13T21:33:32Z")

</div>

[Evaluate Expression Language in Script](http://forum.inductiveautomation.com/t/evaluate-expression-language-in-script/15012):
