Hi I have a problem , in my app I got 2 roles , admin and member . I want to create and send as an admin a task to multiple users . When an individual user complete a task the data change from “yes “ to “no” and the user get points by checking a box .
The problem is that I want each user to complete this task without necessarily moving or changing the data. And when I send this task as an admin, I want the task to remain available for other users until they complete it.
Please can you help me ?
As there are other options, the simplest solution I can think of is having a Data Type called “Task”, and have a list of Users in it called completedUsers.
Then, the User type will have a List of Tasks, which are the tasks the user will see.
When a user completes the task, you can add the user to the completedUsers list. This way the user X will have the task A assigned to them, when they complete it, the Task’s completedUsers will contain Y,Z and X.
The other solution is, creating a TaskPreset “thing”, and the Task will have the field “preset” in it, so that you will always know which Task Preset it is connected to. Then, creating the Task thing for each user, with the field isCompleted boolean. However, this solution might be spending relatively more Workload Units.
Thanks for your response I ‘m gonna try this . I thought about making the yes/no completed task
action something related the user list of tasks . And I have already a feild in thé task data type to assign a task to a specific user .
It worked but created another problem, howdo I remove a user from the task list in a repeating group. To remove a user please , I tried making a change to a thing but cannot find the user in the task list .