Hi,
I was again taking far too long to solve a simple issue.
I tried to reset a timer and have it running again
Timer (named TimerSave) is set to both repeat and autostart true
Timer Start is set to context variable StartSaveTimer
Reset(TimerSave)
;;UpdateContext({StartSaveTimer:true})
This will not work, the timer is reset but never starts again.
UpdateContext({StartSaveTimer:false})
;;Reset(TimerSave)
;;UpdateContext({StartSaveTimer:true})
This will work.
Why is this? You may say well you solved your problem so why keep whining, but perhaps there is some logic to this all I might learn from and solve issues like this quicker without searching this forum.
I believe the action of moving from false to true is what actually causes the the timer to Start. The same behaviour exists for the Reset property of the Timer.
If you wanted the Timer to repeat you would simply set the Repeat property to
true
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
264 | |
217 | |
76 | |
38 | |
34 |
User | Count |
---|---|
333 | |
225 | |
125 | |
70 | |
55 |