In reply to: Sébastien Anselment
Ok, then I would create a dictionary with let's say 10 user picker fields and a field containing the next userbpsid and an int field to just save 1 to 10.
Create only one instance for one entry of the dictionary and disable all "New" buttons.
With a business rule you can then just get the userbpsid for the direct assignment and set the next userbpsid field of the dictionary entry with an automation on entry of the step.
To get the round robin working you need to do a concat ot the attribute table names "WFD_AttChoose" and the valueof the int field containing 1 to 10. If the field is empty you need an automatic to the next and after 10 a jump back to 1.
Or you create a default process with only one instance and use an item list there with the column for the user picker and a column with a checkbox as flag for the next assignee user. To set the next assignee you just need to disable the checkbox of the current row id with active checkbox and enable the checkbox of row id + 1 with the same logic to jump back from the last item list entry to the first one.
What do you think about it?
Thank you for the ideas!
I'm much more in favor of the 2nd one, as it scales better, no limit for the size of the group, although it tricked my brain into thinking that it could be also possible to achieve without any additional forms, just an SQL statement should do the job too.
We're able to fetch the tasks that are assigned from WFTasks, and search tasks just for specific process/workflow/form, by joining with WFElements, WFDocTypes, WFSteps, WorkFlows.
The order of assigning the tasks would be alphabetical, so i can just go with give me the last person from group x, who had a task in step y. This gives me the position to who should get the task next 🤔
Although by implementing it this way would require that there is only one path assigning the task, so the order won't get messed up.