StudioX - How to check if a folder has files or it is empty

StudioX only - How to check if a folder on a computer has files or it is empty. If statement does not work. Can someone assist ?

Hi ,

The Save for later activity can be used to check for list of files in the folder.
countOfFiles= Directory.Getfiles(Folderpath).count

If condition : countOfFiles>0

Since StudioX is low code / no code, want to stick to no code.
Why does this not work in StudioX
If activity → Condition Builder → Folder Path - > Is Empty

You could try this:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.