Hello all,
i made an app where our workers can measure their working time for diffrent step´s. On some phone´s it works fine but some have the problem, they start the timer lock the phone and if they finished they work (around 1h) the enter in the app and everything is cancelled; seems like the app makes a restart.
As longer the working time takes, it happens oftener.
Has someone ideas how to solve it?
Hi fluvio,
are there any timer triggered inside the app when you workers hit the start timer clock ?
i use a onselect -> UpdateContext({StartTimer:true})
Allright, so maybe you should like patch a sharepoint list on the on start instead of triggering a timer and then patch back a sharepoint list on the stop. Would it be a solution for you ?
Best regards,
Alaa
Don´t realy understand what you mean, hot it works to ,,patch a sharepointlist on start"
Ok what I mean is that instead of using the timer component let's say you have a sharepoint list called MeasureWorkingTime that have a start, end and stepname column. So what you could do is
onselect -> Patch(MeasureWorkingTime,Defaults(MeasureWorkingTime),{start:Now(),stepname:"step1"})
and on the stop button do something like
onselect -> Patch(MeasureWorkingTime,LookUp(MeasureWorkingTime,'Created By'.Email = User().Email && stepname = "step1"),{end:Now()})
Would this work for you ?
Best regards,
Alaa
Unfortunately not really, what could cause to that problem? The app or the phone?
That is unfortunate, I believe that starting a timer and waiting for a very long time like the hole day maybe is not a good practice beause basically your app could be stopped at some point by your phone. I think you should really go with a solution without the timer and maybe explore the sharepoint list.
Best regards,
Alaa
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
200 | |
47 | |
45 | |
45 | |
39 |
User | Count |
---|---|
279 | |
81 | |
81 | |
80 | |
67 |