One file is expected in a location for processing. When more than one file is present a different process should take place.
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.
To add a task under the IF condition, expand the appropriate folder in the Component Library, drag a task to the Project Outline, and then place it within the IF condition.