I have two timers, one (Timer1) is set to 2400 and the other is set to (Timer2) 600. I want to 'pause' Timer1 when Timer2 stops. This works - however, Timer1 runs a bit longer before the variable kicks in and 'pauses' the timer.
Hm, which actions you use? I have following setup and...it works for me (sorry to say it but that's true :P)
Left timer config
Right timer config
Hi @KickingApps,
Could you please share a bit more about your scenario?
How do you pause the Timer1 based on the Timer 2 within your app? Could you please share a bit more about your formula?
I have made a test on my side, please take a try with the following workaround:
Set the Duration property of the Timer2 to following:
60000
Set the OnSelect property of the Timer2 to following:
Set(IsPause, !IsPause)
Set the AutoStart property of the Timer2 to following:
true
Set the Duration property of the Timer1 to following:
60000
Set the AutoPause property of the Timer1 to following:
If(IsPause, true, false)
Set the Start property of the Timer1 to following:
If(!IsPause,true, false)
The GIF screenshot as below:
Best regards,
Kris
@v-xida-msft Thank you - I will try this tonight. I have a next and back button, when I select next I start both timers. When Timer2 ends (set to 600), the variable is changed to false for Timer1 so Timer1 will pause. The key is that I need it to stop immediately @ 600ms. But it is running past that for a second or two. I'll mark as solution once I modify with the solution you put forth if it resolves the issue.
Thanks again!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
201 | |
174 | |
60 | |
32 | |
30 |
User | Count |
---|---|
306 | |
263 | |
104 | |
79 | |
56 |