Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader