How to write an expression?

Hi,

I am using Directory Browser snap to try to do following with Expression Builder but I do not know how:

  1. Check if the files in a directory contains any of the following extension (.txt, .csv) If not give error
  2. Check if the filesize of each file is greater than zero. If equal zero then give error

How to write this in expression builder?
Thanks

@mtran21 Try this pipeline.

directoryBrowserLogic_community_2020_10_16.slp (5.4 KB)

1 Like

Thank you so very much. This works really well.

Most welcome @mtran21