So the way to do this is by using Assignee Relationships. There's an article on the KB: https://www.ibm.com/support/pages/using-assignee-relationships-workflow
However, when I tried to use Assignee Relationships to point directly to the people or person groups, I found it didn't do what what it was supposed to. I BELIEVE there is an article buried somewhere about this, but it's years since I looked and I couldn't find it.
I found that I had to do the following:
- Create a relationship for each group.
- Create a role for each group, pointing to the relationship from step #1.
- Create ANOTHER relationship pointing to the ROLE rather than directly to the people/groups.
- Use the relationship from #3 in the workflow design.
So in your example, I would try the following:
- Create a relationship for Group A.
- Create a role for Group A, using the relationship from Step #1.
- Create ANOTHER relationship for Group A, pointing to the role created in Step #2. (So Child = MAXROLE, and where clause is "maxrole = 'GROUP A'"
- Put the relationship from Step #3 into the workflow design in the Assignee Relationship field.
- Repeat for Group B, etc.
- Make sure that "All Assignments are Accepted" is picked.
That's what worked for me.
I do have an active workflow process in Production using this method.
Note: in workflow designer, you just need to specify the relationship name, rather than the full {relationship name}.{field name} that's used everywhere else.