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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help on Timer: A way t...
Power Apps
Unanswered

Help on Timer: A way to resume last recorded time when a form is edited

(0) ShareShare
ReportReport
Posted on by 28

I am creating a productivity tracker. It has a Gallery and Form Edit containers. 

 

Currently, when I click 'New' Icon to create a new record, it opens up the Form and allows entry or selection of choices. It also starts the Timer OnSelect. 

 

Once done, the user is expected to close the form and trigger SubmitForm OnSelect of save Icon. 

 

OnSuccess, it Stops the Timer and saves all of the data on SP as a new record. This also updates Gallery to show the new record.

 

User also has the option to select from Gallery and edit the data and save again. This overrides SP record and update it based on new data.

 

This is where I have a problem, I want that whenever an item from the Gallery is edited, I want the time to continue counting from the last count of Timer that was saved in SP. 

 

I used the Timer instead Time Difference using Now() because I will also encounter the issue where it counts all the time between the first Start Time and the new End Time. 

 

Anyone have any suggestion how I can make this work? 

 

Here on this Image, I added a new record Test9 which lasted 30 secs based on Timer. 

ZERAREZ_2-1713930905364.png

ZERAREZ_3-1713930928710.png

Then edited the Gallery item

ZERAREZ_4-1713930971968.png

However, upon saving the edited item, instead of continuing the Timer, it starts from 0 and then saves a new time on SP

ZERAREZ_5-1713931045094.png

 

 

 

Categories:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    You need to save and create a play pause button functionality which stores the data in the Power Apps SharePoint list and add a timer functionality to it.

  • ZERAREZ Profile Picture
    28 on at

    Thanks Vishal,

     

    Can you provide some guide on how to do this? Sorry only new to Power Apps. 

  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    That is a complex question. 
    You need to manage multiple collections and when the Start button is pressed, the data is to be saved in the SharePoint List.
    Then when the data there must be a timer control or functionality which then calculates how much time it has happened.  Then it gets calculated and when you press Stop button, again you need to provide the Save Functionality in the app. The Stop button then calculates how much the time has lapsed since the Start button.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard