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 Apps
Unanswered

Timer Control Help

(0) ShareShare
ReportReport
Posted on by 55

Hello All,

 

I have completed building an application but i am facing one issue and that very much needs to be fixed. i have a code that runs on time rend property. Now i run into the issue where in when i run the new form the timer runs. But the next time if i open the edit form or the new form the timer does not start only.
I have the timer Start property as Timer run a variable that i am setting true on on start of the application.
On timer end i have variable reset timer which i am setting as true and then false.
The only problem i am facing is that the timer runs the first time when an edit or new form is opened for the first time. But when a new or edit form is opened second time the timer resets but does not start unless i start it manually by clicking on it.

Please help me fix this issue, as it is really necessary.

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Jayant_2203 The OnStart fires only once when the App starts. If you want the timer to start every time, it would be better to Set the variable to true in the OnVisible of the Screen that has the Form. Also it is good to set this variable to false in the OnTimerEnd property.

  • Jayant_2203 Profile Picture
    55 on at

    @CNT it is still not working.

  • KvB1 Profile Picture
    1,596 on at

    Check the following:

    - AutoStart is false

    - AutoPause is true

    - OnTimerEnd sets the variable to false, remove the line that sets it to true

    - OnTimerStart is false
    - Reset is true

    - Repeat is false

    - Start is your variable

     

    I found timers annoying to begin with. It helped me to have a label next to it with the variable that controls it, as well as 2 buttons, one that sets the variable to true, and one that sets it to false. This makes it faster to troubleshoot problems and fix it.

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
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard