2020.1

Table Of Contents
Note
When used as an Input task, the File Count task does not apply the process polling
interval. Once the condition is true, it triggers the process repeatedly, as if the polling
interval were 0.
To work around this, start the process with a Create File task followed by a File Count as
Condition task.
This issue only occurs in version 2020.1 and will be fixed in version 2020.2.
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 page301.
l
Masks: Enter a single or multiple file names or use file name masks (see "Masks" on
page304). Multiple filters are separated by a semicolon (e.g. *.csv;.xls*).
This is a variable property field. (See "Variable task properties" on page301.)
Page 316