# Detecting Tag Inactivity

**URL:** <https://forum.inductiveautomation.com/t/detecting-tag-inactivity/52919>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [November 10, 2021, 1:38pm UTC](https://forum.inductiveautomation.com/t/detecting-tag-inactivity/52919 "2021-11-10T13:38:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrebro](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rrebro](https://forum.inductiveautomation.com/u/rrebro)\
**Post date:** [November 10, 2021, 1:38pm UTC](https://forum.inductiveautomation.com/t/detecting-tag-inactivity/52919/1 "2021-11-10T13:38:20Z")

</div>

What is the best way to detect a Tag hasn’t changed for X amount of time. Basically if a machine hasn’t changed state in the last 10 minutes, we want to popup a window for the operator to give a reason nothing has happened. So what I want is to have a tag that if it doesn’t change for 10 minutes, popup a window.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 10, 2021, 1:43pm UTC](https://forum.inductiveautomation.com/t/detecting-tag-inactivity/52919/2 "2021-11-10T13:43:41Z")

</div>

I’d suggect an expression tag to monitor the timestamp:

```auto
secondsBetween({[~]path/to/tag.Timestamp},now()) > 600

```
