web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Patch with Timer
Power Apps
Answered

How to Patch with Timer

(0) ShareShare
ReportReport
Posted on by 943

Hi all..

 

I need to create something like this in sequences:

1. Patch Data 1

2. Set timer (30 second)
3. Patch Data 2

4. Set timer (30 second)

5. Patch Data 3

6. Set timer (30 Second)
7. ...

8, ...

and so on..


the problem is, i cant manage my timer. 

can anyone help me with the proper formula?

Thanks,

pytbyt

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,529 Most Valuable Professional on at

    Thanks @PytByt 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. 

  • PytByt Profile Picture
    943 on at

    Hi @WarrenBelz 

    Thanks for the reply. 

     

    That was exactly what i did! #lol 
    I've been creative in OnTimerEnd properties even though it was not beautiful. But it works just fine.

    Much obliged.
    pybyt

  • Verified answer
    WarrenBelz Profile Picture
    153,529 Most Valuable Professional on at

    Hi @PytByt ,

    Sorry for the late replay. Use your own names for the items in blue

    You need one timer each for all but the last one - I will do four as per your specs below

    1. Patch Data 1 and set Variable1 in same code
    2. Timer 1 Start set to Variable1 - and Duration to 30000 (30 seconds)
    3. Timer 1 OnTimerEndPatch Data 2 and set Variable2 in same code
    4. Timer 2 Start set to Variable2 - and Duration to 30000 (30 seconds)
    5. Timer 2 OnTimerEndPatch Data 3 and set Variable3 in same code
    6. Timer 3 Start set to Variable3 - and Duration to 30000 (30 seconds)
    7. Timer 3 OnTimerEndPatch Data 4 (that is the end if this is the last one.)

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • PytByt Profile Picture
    943 on at

    Hi @WarrenBelz 

    Thanks for the reply, 
    I still confused here since i haven't play with timer control, how exactly timer control do i need?
    And, do you have the example formula reference that i can refer to?

    Thanks,

    pytbyt

  • WarrenBelz Profile Picture
    153,529 Most Valuable Professional on at

    Hi @PytByt ,

    Firstly, here is the Timer Control Reference - so I will go through a few of the things that will help you.

    Duration - that is easy so you new 30,000 milliseconds on each one.

    OnTimerEnd - you run your flow here

    Start - determines when a Timer starts. Set this to a Variable (vStart1 for the first one will do), then set the variable to true when you want the timer to start.

    UpdateContext({vStart1:true})

    So set the next Variable (vStart2) at OnTimerEnd after the Patch on the first one and continue as above with the next one.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 421

#2
WarrenBelz Profile Picture

WarrenBelz 365 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard