How to design user_interaction_form dynamically based on the group value.
Task assignment should be based on the group value.
You can use a dataset value in the Assignee field(s):
Where 'TaskGroupAssignees' is a process dataset with a list of users that would be built earlier in the process.