How to check if value exists in flow designer

benrollins
Kilo Expert

I'm using Flow designer to create or update a record based on the information received on a custom table, populated from a REST API Post message from an external system.

The external system will only populate values for variables which have changed since the last time a POST took place.
In building this flow, I noticed that the IF logic for flow designer does not have an "if exists" or "is empty" condition.

My original plan was to go through the possible variables which could have been populated, and to go down a stream in the flow using a method similar to "if value "x" exists on the source table, then update "x" on the target record in ServiceNow"

I've found a post which shows how to do this using a "If record exists" logic, (link below), but I haven't been able to determine how to do this based on if a value exists on a record.
In Flow Designer, could I use a condition - If record exist

Has anyone achieved this type of logic in flow designer?  I know I could do this by building a transform map, but I'd like to keep this contained within a single flow if that's possible.

Thanks!

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee
5 REPLIES 5

Purna1
Giga Expert

In old version, We are using "is not" from filter and leave as black but in latest version(Quebec) we have OOTB functions.
ServiceNow has provided OOTB box utilities functions. We can call the function to check the data pill is blank or null value.
Please find the reference screenshot.

find_real_file.png

 


For more information. Please refer below link

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/reference/utilities-transform-functions.html#d1097001e249