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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can try to use custom flow action for this

Regards
Ankur

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

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ben - Please refer below link where I have provided solution for is empty check.

https://community.servicenow.com/community?id=community_question&sys_id=b0d1b2ccdb78fb445ed4a851ca96...

Pradeep, can it really be this simple?.... I'll definitely be playing around with this today, thank you.

freaksgarden
Kilo Contributor

this is not working on my PDI (Paris)

😞