Hi,
I have an app that helps me time the different tasks I do every day. It is dynamic and when I turn on a timer, all other timers are turned off, so only one timer is active. Except for the timer at the top which starts as soon as I open the App, this one sends a backup email after x minutes with the current time spent.
The problem I have is that the dynamic timers stops/pauses after a few minutes when I do something else, ie leave/hide the Timer window. But the timer at the top still keeps going. I have added the code for both types of timers (I got some great help from this Community on the dynamic timer), and I hope someone might know how to fix it so that the dynamic timers also keeps going, even if I leave/hide the window.

Dynamic timer:
AutoPause | false |
AutoStart | false |
Duration | 1000 |
Fill | If(timerRunning=ThisItem.LineNbr,RGBA(152,208,70,1),RGBA(128, 128, 128, 1)) |
OnSelect | Set(timerRunning, ThisItem.LineNbr) |
OnTimerEnd | Switch( CountRows(Filter(timeTrack, rowID=ThisItem.LineNbr)), 0, Collect(timeTrack, {rowID: ThisItem.LineNbr, TimeElapsed: 1000}), UpdateIf(timeTrack, rowID=ThisItem.LineNbr, {TimeElapsed: TimeElapsed+1000})) |
Repeat | true |
Start | timerRunning=ThisItem.LineNbr |
Text | Text(Time(0, 0, LookUp(timeTrack, rowID=ThisItem.LineNbr,TimeElapsed)/1000), "hh:mm:ss") |
Timer at the top:
AutoPause | false |
AutoStart | true |
Duration | If(CheckboxBackUp.Value = true && Value(i_backupMinutes.Text)>0,i_backupMinutes*60000,360000) //360000 needed or an email will be sent every second |
OnTimerEnd | If(CheckboxBackUp.Value = true, SendBackUpEmail.Run(HtmlText1.HtmlText)) |
Kind regards,
Anna