# Resetting Value on Timer

**URL:** <https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981>\
**Category:** Ignition\
**Created:** [April 16, 2020, 1:52pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981 "2020-04-16T13:52:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ojv0680](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@ojv0680](https://forum.inductiveautomation.com/u/ojv0680)\
**Post date:** [April 16, 2020, 1:52pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/1 "2020-04-16T13:52:16Z")

</div>

Hello,  
I am trying to figure out how to reset the Value on the Timer Component when Running is false. I am binding Running to a tag. Just need help trying to reset.  
Any help will be greatly appreciated

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [April 16, 2020, 8:26pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/2 "2020-04-16T20:26:32Z")

</div>

Put a script on the timers propertyChange function

```auto
if event.propertyName=='running' and not event.source.running:
	event.source.value=0

```

---

<div class="post-metadata">

**Author:** ![Dwayne\_Schwartz](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dwayne\_Schwartz](https://forum.inductiveautomation.com/u/Dwayne_Schwartz)\
**Post date:** [June 16, 2025, 6:14pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/4 "2025-06-16T18:14:21Z")

</div>

Ok, has anyone tried this latel?. I followed all the steps and it will not reset.

---

<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 16, 2025, 7:16pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/5 "2025-06-16T19:16:23Z")

</div>

The original question was missing any detail that would help provide an answer. You'll need to explain what you are trying to achieve, how, what you expect and what you got.

---

<div class="post-metadata">

**Author:** ![Dwayne\_Schwartz](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dwayne\_Schwartz](https://forum.inductiveautomation.com/u/Dwayne_Schwartz)\
**Post date:** [June 16, 2025, 7:23pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/6 "2025-06-16T19:23:47Z")

</div>

Just looking to have the timer value go back to 0 when not running.

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [June 16, 2025, 7:31pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/7 "2025-06-16T19:31:02Z")

</div>

Have you applied the script as shown to the `propertyChange` event of the timer in question? Are you receiving an error in the designer/client logs? How are you starting and stopping the timer? Is anything else bound to / overwriting the timer's `value` property?

---

<div class="post-metadata">

**Author:** ![Dwayne\_Schwartz](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dwayne\_Schwartz](https://forum.inductiveautomation.com/u/Dwayne_Schwartz)\
**Post date:** [June 17, 2025, 12:21pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/8 "2025-06-17T12:21:47Z")

</div>

Yes, I have put the info in the property change of the timer. I guess I am looking to see if there is a tutorial on how to start up from scratch.

---

<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:** [June 17, 2025, 6:59pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/9 "2025-06-17T18:59:47Z")

</div>

As a sanity check, are you running in preview mode? Scripts won't run unless you're in preview.

---

<div class="post-metadata">

**Author:** ![Dwayne\_Schwartz](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dwayne\_Schwartz](https://forum.inductiveautomation.com/u/Dwayne_Schwartz)\
**Post date:** [June 18, 2025, 12:46pm UTC](https://forum.inductiveautomation.com/t/resetting-value-on-timer/33981/11 "2025-06-18T12:46:09Z")

</div>

LOL, you are correct. Got it. Thank You!!
