The CreatorCon Call for Content is officially open! Get started here.

Find group someone is part of in Flow Designer

Tristanct
Tera Expert

Hi,

I would like to get the groups that a user is part of and return the first one from a Flow. I get the user information from the "Opened by" field from my catalog variables.

Many thanks,

3 REPLIES 3

Community Alums
Not applicable

Hi @Tristanct ,

Use lookup records on group member table which will return the count If count is 0 then send approval to CAB approval group else create task 

 

Select the user from "Picker"(Highlighted one)

Use Count In your next IF

find_real_file.png

Just ensure you select the User from the data pill as the Opened By

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Hi,

 

Thank you for your answer, but what I am looking for is to have a group where the user is. If I understand correctly, I should just put the condition "User is" my user and it should return the first group that he is part of?

Hi,

You have two options for looking up records in Flow designer.

The "Look up record" action gets you exactly one record (or error if no records exist)
The "Look up records" action gets you one or more records based on your query (if any records exist).

And yes, by filtering who the group member is, returns only group membership where that user is a member.