Hi. just want to check if it is possible to assign a task to multiple user?
eg: i want to assign user A and user B to a single task.

g
hi @supermanPunch , went through the video and realised that i only shows assignment of 1 task to 1 user. I wish to assign 1 task to 2 users.
@Lim_YW ,
Assuming that you have created the variable userAssignment which is of type List(Of TaskUserAssignment), we should be able to add the Users with the Task/Validation Id created.
From the Video, they are using the Add to Collection activity which will add 1 user TaskAssignment to the List. Similarly you can do the same by using another Add to Collection and another user id for the same task.
We can also eliminate Add to Collection activity, if it is not available in your Studio and go with the Assign Activity itself, where it would look something like below :
userAssignment = new List(Of TaskUserAssignment) from {new TaskUserAssignment(validationAction.Id,"abc@domain.com"),new TaskUserAssignment(validationAction.Id,"def@domain.com")}
i think you just checklist “Enable Multiple Assignments” in the properties and write code from bellow
I have tried to enable the checkbox and tried to add multiple users to assign the task, but it was not able to assign the task to multiple users, instead it was found as unassigned in action centre
Thanks and Regards
Nived N
Apparently, 1 task can only be assigned to 1 user. The only resolution that i can think of is to create user groups in UiPath orchestrator, then allow the user group to view the task in the folder. User will need to assign the task to self. You may refer the UiPath documentation here.
Activities - Assign Tasks (uipath.com)


