2022.1

Table Of Contents
Processing
At run time, the number of files in the folder is compared to the specified value, using the
specified operator.
If the folder or file count value is invalid and the task is used as Input task, the process does not
run. If it is a Condition task, it returns False. No error is generated.
Output
Job Information definitions
When used as Input task, the File Count task sets the following Job Info variables.
l
%1 - FolderName. The target folder.
l
%2 - Mask. The specified mask.
l
%3 - FileCount: The specified file count.
Task properties
General Tab
l
Target folder: Enter the full path of the folder from which the input files are to be taken, or
use the Browse button to select it. Note that subfolders are not processed.
This is a variable property field. You can use any combination of text, variables and data
selections; see "Variable task properties" on page303.
l
Masks: Enter a single or multiple file names or use file name masks (see "Masks" on
page306). Multiple filters are separated by a semicolon (e.g. *.csv;.xls*).
This is a variable property field. (See "Variable task properties" on page303.)
l
Treat as regular expressions: When ticked, the contents of the Mask field are
deemed to be a regular expression . You can specify multiple masks based on
regular expressions, separating the regular expressions by a semicolon.
Please refer to Regular Expressions for more information.
Note
No Variable Data can be used inside this field if the Treat as regular expressions
Page 459