Remove user from multiple groups using flow designer

Preethi26
Tera Contributor

Hi Team,

I have built a flow to add/ remove user from groups.

For remove part the flow is removing only one group

can you please help me to figure out the error.

Preethi26_0-1701153635733.png

 

8 REPLIES 8

Sandeep Rajput
Tera Patron
Tera Patron

@Preethi26 Could you please share the complete screenshot of the flow, specifically covering the remove part.

Hi @Sandeep Rajput 

In else part of flow i have looked up grmember table and delete record.

In catalog variable remove group is list collector.  this flow is removing user if only one group is selected in variable.

but if we have more than one group its is not working.

Guess i have to add for each, but im still learning flow so not sure.

Kindly suggest some hints.

Preethi26_0-1701176457555.png

 

Aman Kumar S
Kilo Patron

Are you using look up record or loop up records, there are two actions, one returns a single record and other one returns multiple records, check that once it should work fine.

 

Best Regards
Aman Kumar

Hi Aman,

I changed to Look up records, but in delete action i cant pick up the records(greyed out)

Preethi26_0-1701154204747.png