Hi @Anonymous,
Post back to share some feedback.
I thought keeping the record offline may work with your scenario, but it requires the data stored within the same device.
If the user may work under different device, then we should keep the record with an online data source, and use filter to locate the corresponding record.
To better understand your scenario, could you please share more details, for example, the data source, like SharePoint List (corresponding columns), sign-in table information, and the App controls you used?
Here are a few thoughs based on the current information:
1. There is a sign-in table, used to check user sign-in and sign out, a data table, in SharePoint list, woking with form control,
2. User signs in with a check under the sign-in table, if no record for a specific time and the sign-in field is empty, switch form control to New mode,
3. Two buttons to work with Start job and end job, for Start, create a new item under SharePoint list, recording the Start time, with submitForm() function, once clicked, disable the Start Button itself,switch the form control in Edit mode,
4. Here we have two tables containing the user information, and comes to the part to recall the record,
Two conditions:
a. User didn't sign out, two ways to recall the submitted record, Form.LastSubmit, or Frist(filter(table, conditions)), here we use the second one, as the lastsubmit may vary for different users,
b. User signed out, we need to get back the status, so here we should configure the Onvisible property of the landing screen, checking with the two tables to get back the information, using some variable to update form control mode and the button status,
5. If step 4 has been well configured, then here we need to end the job, as the record has already been created, here we use patch to update the corresponding record,
Regards,
Michael