Skip to main content

Check If a Folder is Empty

Description

Check if a folder is empty is a step in the Lookup plugin. The step checks if a folder is empty i.e. there are no regular files or sub-folders in the folder.

Configurations

Field NameDescription
Step NameSpecify a unique name of the step, which will appear in the workflow. The field is mandatory.
Folder nameSelect the folder which you want to check if it’s empty. Note: Click Browse, to select the folder.
Include sub-foldersSelect the checkbox if you want to include the sub-folders in the check.
Limit search to (RegExp)Select the checkbox if you want to limit the search for files to those with a certain wildcard (regular expression).
Wildcard (RegExp)Select the wildcard (regular expression) to limit the files to look for: .*.txt$.
Output field nameSpecify the name for the field that will hold the output result.