I am making a onboardingsapp from a sharepoint list. Where a mentor makes task for a user. The task is assigned to the user. I have one task on each screen. I want the app to save user progression. Now i have a column in the list called ProgressState with yes/no element. When the user have finished the task on the screen they press button next task and switch to new screen to next task in the list. The button changes value of the ProgressState. If the user closes the app i want the next time they open it to be taken to the first task in the list they have not completed. Is this possible?
I assume that is the main list - you need to maintain another list with a record for each user (their email is best) and update that with whatever information you need to retrieve for them when they open the app.
I have this function on the on select button
How does the progress state change? Do i need to buttons?
Hi @eivindson ,
For the second part, you are going to need to maintain a log list with the user's email and the task reference and write to this whenever the user saves the task, then get back the value at OnStart and take them to the relevant item.
Hello,
Assuming that your list has the columns:
- Task order (Integer number)
- ProgressState (Boolean)
- User (Person)
Just create a single screen with a form that has the list as the data source
In the Item property, we put the following formula which will allow us to retrieve the first element in the list which corresponds to a task assigned to the user and which has not been completed:
First( Sort( Filter( 'List Name' , ProgressState = false , User.Email = User().Email ) , 'Task Order' , SortOrder.Ascending))
In your next step buttton.Onselect, put a SubmitForm(Form1)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.
WarrenBelz
146,596
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional