cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Skilled Sharer
Skilled Sharer

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
Kudo Commander
Kudo Commander

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
Community Support

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.
Highlighted
Skilled Sharer
Skilled Sharer

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (298)