# Run-Always Item has expression with Triggered Item, Triggered Item acts as Run-Always

**URL:** <https://forum.inductiveautomation.com/t/run-always-item-has-expression-with-triggered-item-triggered-item-acts-as-run-always/41564>\
**Category:** Ignition\
**Created:** [December 16, 2020, 2:47pm UTC](https://forum.inductiveautomation.com/t/run-always-item-has-expression-with-triggered-item-triggered-item-acts-as-run-always/41564 "2020-12-16T14:47:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtran](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dtran](https://forum.inductiveautomation.com/u/dtran)\
**Post date:** [December 16, 2020, 2:47pm UTC](https://forum.inductiveautomation.com/t/run-always-item-has-expression-with-triggered-item-triggered-item-acts-as-run-always/41564/1 "2020-12-16T14:47:54Z")

</div>

How could I use a Triggered item in expression of a Run-Always Item, as it then becomes Run-Always as well?

Goal was to trigger when the value changed more than 10, hence I created a trigger item to log memory value of last trigger, and a run-always expression to compare that memory value and the current value.

---

<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:** [December 16, 2020, 3:00pm UTC](https://forum.inductiveautomation.com/t/run-always-item-has-expression-with-triggered-item-triggered-item-acts-as-run-always/41564/2 "2020-12-16T15:00:31Z")

</div>

No, transaction groups themselves have no generic way to evaluate using prior values. You might find the `state` dictionary useful in the `objectScript()` expression function (part of my free [Simulation Aids](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-simulation-aids) module) to create your own tracker for prior values.
