...
So you will need to create two (2) Actions to meet this requirement, as follows:
...
The GetUsers (Primary) Action will retrieve a list of User ID’s and User Names. It will also have a Group Name Mapping which references the second Action GetUserGroup, passing the User ID as a parameter, to retrieve each user’s assigned Group.
The GetUsers (Primary) Action Mappings would be configured like this:
...
The GetUsers (Primary) Action Group Name Mapping’s Params would be configured like this (passing the User ID over to the referenced Action):
...
The GetUserGroup Commands section will be configured to accept a the User ID parameter, like this:
...
The GetUserGroupAction Mappings would be configured like this:
...