In the example below, a module will be called if one or more files are found in a folder. Otherwise (else) an email will be sent if no files are found.
Generate a File List.
From within the Project Designer page, expand the File System folder in the Component Library, and then drag the Create File List task to the Project Outline.
On the Create File List page, specify the Number of Files Found Variable value.
Click the
Add
button to specify the file location for the File Set.
The IF Condition can check for the presence of more than one file.
From within the Project Designer page, expand the Job Control folder in the Component Library, and then drag the If task to the Project Outline.
On the IF page, type the condition statement. Condition statements are based on expressions.