Need to check user is part of group in Flow Designer

Gowtham29
Tera Expert

Hi Everyone, I need to complete below requirement using Flow Designer 

If the request is submitted by a member of CAB Approval, the request is considered pre-approved and will advance to fulfillment which means need to create catalog task

If the request is submitted by a user outside of the CAB ApprovalApproval request will be sent to the members of the CAB Approval group. Please help me to get this done ASAP. Thank you.

 

4 REPLIES 4

Voona Rohila
Kilo Patron
Kilo Patron

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

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Hi Rohila, In If activity do I need to take condition as below ? Can you please verify it and let me know if you see any issues with this If step ? Please advise. Thank you.

find_real_file.png

'COUNT' - the number of records matching your query

Yes In IF Condition use as your image.

 

Did my reply answer your question? Please mark as a helpful or mark as a correct answer if answer is appropriate


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

As mentioned by Rohila you can use Lookup records action and check if user is member of that group

Just ensure you select the User from the data pill as the Request->Requested For

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader