Skip to main content

Check If a Folder Is Empty

Description

Check If a Folder Is Empty determines whether a specified folder contains any files or subfolders. Use this process entry when your process needs to verify folder state before proceeding — for example, confirming that an input folder has new files to process, checking that an output folder is clear before a new run, or validating that an archive folder was cleaned up successfully. It supports optional wildcard filtering to check for specific file types.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
Folder nameThe name of the folder to verify for emptiness.
Limit search toLimits the search for files to those with a certain wildcard (regular expression)
WildcardThe wildcard (regular expression) to limit the files to look for with, for example: .*\.txt$