# Expression not returning expected valuebut only for ON and OFF keyword

**URL:** <https://forum.inductiveautomation.com/t/expression-not-returning-expected-valuebut-only-for-on-and-off-keyword/91794>\
**Category:** Ignition\
**Created:** [June 13, 2024, 3:28am UTC](https://forum.inductiveautomation.com/t/expression-not-returning-expected-valuebut-only-for-on-and-off-keyword/91794 "2024-06-13T03:28:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 13, 2024, 7:30am UTC](https://forum.inductiveautomation.com/t/expression-not-returning-expected-valuebut-only-for-on-and-off-keyword/91794/2 "2024-06-13T07:30:51Z")

</div>

Welcome to the forum.  
Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

---

_[View the full topic](https://forum.inductiveautomation.com/t/expression-not-returning-expected-valuebut-only-for-on-and-off-keyword/91794)._
