cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KickingApps
Level 8

Two timers - pause a timer with another timer

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.

Timers.JPG

3 REPLIES 3

Re: Two timers - pause a timer with another timer

Hm, which actions you use? I have following setup and...it works for me (sorry to say it but that's true :P)

 

 

image.png

Left timer config

image.png

Right timer config

image.png

Highlighted
Community Support Team
Community Support Team

Re: Two timers - pause a timer with another timer

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:4.JPG

 

6.JPG

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:Test1.gif

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KickingApps
Level 8

Re: Two timers - pause a timer with another timer

@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!

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,624)