Forum Discussion

khanh_tran's avatar
khanh_tran
New Contributor III
2 years ago
Solved

How to check if the file not found but the Directory Browser returns nothing

The Directory Browser returns nothing when the specific file name cannot be found. So, how can I check if the file is found in the next snap like Router. I tried some ways like: $ == null or .get but...
  • Aleksandar_A's avatar
    2 years ago

    Hello khanh_tran,

    As a first step you should disable the Ignore empty result in the Directory Browser Snap, then you can check using the following expression:

    $ == {}

    For more details, please refer to the attached pipeline and let me know if this helps you!

    Regards,

    Aleksandar.