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
Highlighted

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

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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 334 members 6,550 guests
Please welcome our newest community members: