Expand my Community achievements bar.

Got questions about Workfront Governance? Join our upcoming Ask Me Anything session on February 12th!
SOLVED

Issue Clearing User Groups

Avatar

Level 3

I'm working on a workflow to reset users to default values when their accounts are disabled (it's quite common for people to leave the company and come back in a different capacity).

I have an 'Update Record' module that does most of the work, including setting their Home Group to our default group. Then I have a 'Custom API Call' module to clear the collections, including Other Groups.

What I'm seeing is that everything is working except that their old Home Group is remaining in their Other Groups, even though that's no longer their Home Group.

Any thoughts on how to get around this?

1 Accepted Solution

Avatar

Correct answer by
Level 3

I found the issue. A group will not be removed from a user's Other Groups if the user is a Group Admin of that group.

View solution in original post

4 Replies

Avatar

Level 3

Looking into this further... it seems like a sequencing issue. When you save a user record the Home Group also gets added to the user's Other Groups. Apparently when a Fusion scenario ends, this is happening AFTER the scenario commits based on the old value (which sure seems like a bug to me). 

Flow control has a Commit module, but it immediately ends the run, so I can't commit and then clear the groups (if there is a way to do an early commit and keep the flow going, please enlighten me). 

Avatar

Community Advisor

if you consider this a bug, I would certainly encourage to raise a ticket with the support. Unless you already did that.

cheers

Avatar

Correct answer by
Level 3

I found the issue. A group will not be removed from a user's Other Groups if the user is a Group Admin of that group.