2021.1

Table Of Contents
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 page303.
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 page303.)
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
option is ticked. The percent sign, the curly brackets and the period are all key
elements of the RegEx syntax, therefore they cannot be mixed and matched with
Workflow variable data syntax (e.g. %1, ${global.myvar}, etc.). Also, there is no
validation of the RegEx being specified.
Page 475