Flow Designer Apporvals based on Requested For Location

Sean1232
Tera Contributor

Im trying to create a condition within a flow that will check the "requested for" field on the request for the users location and if it matches a list of locations then create an approval.

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

Define a flow variable where you would like to store the list of locations.

Then do a comparison to match the requested for location with flow variable.


Please mark this response as correct or helpful if it assisted you with your question.

Ankur Bawiskar
Tera Patron
Tera Patron

@Sean1232 

You can follow the approach shared by @SanjivMeher and share us the feedback

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

iDNS
Tera Expert

@Sean1232 ,

 

If you have multiple locations that may complicate your script, you can use a Decision Builder table & derive your flow from the decision builder. It makes it's more of a GUI than code if you prefer a low/no code. 

 

Here is something that is something similar if it helps. Thanks