# How to detect a flow has not been triggered for a period of time

**URL:** <https://community.homey.app/t/how-to-detect-a-flow-has-not-been-triggered-for-a-period-of-time/32331>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [July 13, 2020, 6:10am UTC](https://community.homey.app/t/how-to-detect-a-flow-has-not-been-triggered-for-a-period-of-time/32331 "2020-07-13T06:10:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jos\_Stultjens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_stultjens/32/12687_2.png) [@Jos\_Stultjens](https://community.homey.app/u/Jos_Stultjens)\
**Post date:** [July 13, 2020, 7:01am UTC](https://community.homey.app/t/how-to-detect-a-flow-has-not-been-triggered-for-a-period-of-time/32331/2 "2020-07-13T07:01:49Z")

</div>

Maybe you can create a “Better Logic” variable of type string for every flow you want to check.  
Whenever a flow is executed, you can set the corresponding variable with the date/time converted to a string. This way you can check these variables and see when the flow was executed last.  
But this probably is not the best option when you have a lot of flows to be checked.

PaperTrails Log, an app created by @Dijker also might be an option. Please have a look at that too.  
See: [PaperTrails Log - Advanced Logging and Log management (v0.6.3)](https://community.homey.app/t/papertrails-log-advanced-logging-and-log-management-v0-6-3/40)

---

_[View the full topic](https://community.homey.app/t/how-to-detect-a-flow-has-not-been-triggered-for-a-period-of-time/32331)._
