Find group someone is part of in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 06:27 AM
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,
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 06:50 AM
Hi
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
Just ensure you select the User from the data pill as the Opened By
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2022 01:20 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2022 01:41 AM
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.