How to handle null or empty element

Hi,
I need to use null and empty condition in router. curretnly i am using:-
$ZSDATA.IDOC.EDL2.EDL4.BEL != “”
but i feel i am not handling it correctly.
Any inputs?

Hi @Sahil ,

Which value are you expecting to be null ? With your current condition it will only check if …BEL is not empty and if any value before it is null it will fail.

You can either try this with the .get() method. You can also try with Data Validator snap to check if a value is not present or if it is empty.