Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Skipping "Ask Manager for Approval" in Flow if RITM requestor is a manager themselves

J McMillan
Tera Expert

In Flow designer, we have a Flow that requests manager approval for a particular RITM.
We wish to update this Flow with an if statement where if the RITM requestor is a manager of other users, then approval will not be required (so it will skip over the approval section in the Flow).

Has anyone done anything like this in a Flow using either dot walking or integrating  a script?

Thanks!

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use IF Action in flow designer +  Lookup Record

Lookup record

User Table

Manager [IS] REQ -> Requested For

Then IF condition

find_real_file.png

Check if Count is 0

find_real_file.png

find_real_file.png

Regards
Ankur

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

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use IF Action in flow designer +  Lookup Record

Lookup record

User Table

Manager [IS] REQ -> Requested For

Then IF condition

find_real_file.png

Check if Count is 0

find_real_file.png

find_real_file.png

Regards
Ankur

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