Expand my Community achievements bar.

SOLVED

How to automatically assign "other groups" to new users in Workfront Fusion?

Avatar

Level 1

Background: new users are created by submitting a request which automatically creates the user with necessary permissions/groups/teams/etc.

 

Issue: I'm able to assign a Home Group up user creation, but not Other Groups (i.e. they've been assigned to the global group, but not the regional group).  

 

I've tried the Update Record module > User record type however Other Groups doesn't appear as a mappable field. I've also tried Update Record > Group as well, however add members doesn't appear there as well. 

 

Is there a way to assign other groups to users created via Workfront Fusion automation? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

hi,

1. create json string with all the groups you want to add:

Rafal_Bainie_0-1726216694173.png

 

2. run custom API call with PUT method to update user

Rafal_Bainie_1-1726216786983.png

good luck

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

hi,

1. create json string with all the groups you want to add:

Rafal_Bainie_0-1726216694173.png

 

2. run custom API call with PUT method to update user

Rafal_Bainie_1-1726216786983.png

good luck

Avatar

Level 1

That logic can be used to add other teams as well, thank you. What is the object code for other teams? USRTMS, perhaps?

Avatar

Community Advisor

Please note this API call is addressed at USER endpoint, 

in first example I targeted "userGroups" collection and for updating other teams you can do it in exactly the same fashion by modifying "teams" collection on USER.

this is comprehensive source for all such details when making custom API calls
https://developer.adobe.com/workfront/api-explorer/