how to achieve "if field value is NOT null" logic branching in flow designer?

AndrewB1
Tera Contributor

To make a long story short, I've tried a number of things and am unable to create and IF branch in a flow that runs only when a task field is NOT empty.  The goal is to send out approvals to the individuals in an "additional_approvers" field if that field contains values, otherwise the flow ends.  Is there any reason why simply using the IF conditional set to "is not" then leaving the next field blank shouldn't work for this?

Alternatively, would it be reasonable to create a custom action that might return T/F based on whether input is null, as a workaround?

1 ACCEPTED SOLUTION

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

 

 

View solution in original post

10 REPLIES 10

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