I have a list of tasks and I have a list of users. How would automatically assign the list of tasks to the list of users one. I would want to iterate over the list of tasks and iterate over the list of users and assign(associate) each task to each user untill all the tasks are assigned. I can retrieve the list of tasks and list of users in the microflow and I can i iterate over the list of tasks but I am not sure what to do next or whether there is a better way of doing this. Any help is appreciated? Thanks.
Iterating over the list of tasks would be a nice approach. What to do next depends on your case. Do you want to divide all tasks equal on your users? So every user has only one task at the moment. Then you need to retrieve one user, who isn't assigned to a task yet and associate it to the current task. Continue this till you handled all tasks.
You can accomplish this on many ways, but it's depends on how you want to assign the tasks to the users.