# Keep the last value

**URL:** <https://forum.inductiveautomation.com/t/keep-the-last-value/52345>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [October 26, 2021, 2:07pm UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345 "2021-10-26T14:07:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyhkch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lyhkch/32/9381_2.png) [@lyhkch](https://forum.inductiveautomation.com/u/lyhkch)\
**Post date:** [October 26, 2021, 2:07pm UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345/1 "2021-10-26T14:07:55Z")

</div>

Hi，when disconnected，the tag quality change to bad, how to keep the last good value

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [October 28, 2021, 5:14am UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345/2 "2021-10-28T05:14:15Z")

</div>

You would have two have two tags. the one which may disconnect. and one which you write that value to based on a condition so it doesnt write in a bad value.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 28, 2021, 8:52am UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345/3 "2021-10-28T08:52:22Z")

</div>

Opt out of overlays on your bindings

---

<div class="post-metadata">

**Author:** ![garth.reynolds](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@garth.reynolds](https://forum.inductiveautomation.com/u/garth.reynolds)\
**Post date:** [June 11, 2025, 3:06am UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345/4 "2025-06-11T03:06:42Z")

</div>

Could we possible get an example expression that would achieve this?  
I have seen this whilst searching but it doesnt work.  
if({[.]Current Label Name.Quality } == "Good", {[.]Current Label Name}, self)

Using ignitoin 7.6

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 11, 2025, 5:57am UTC](https://forum.inductiveautomation.com/t/keep-the-last-value/52345/5 "2025-06-11T05:57:34Z")

</div>

> [@garth.reynolds](#):
>
> Using ignitoin 7.6

Welcome to the future, it's 8.1.48 now 🙂 which has the isGood function (and the better isAvailable function from the Ignition Extensions module)
