2020.1

Table Of Contents
Check the option Use as step description to display the text next to the icon of the plugin in
the Process area.
File Count
File Count tasks check if a target folder contains a specified number of files. They can be used
as Condition task or as Input task.
When used as Input task, the task triggers the process to run only when the condition is true. As
long as the condition is false, it does nothing (except log any errors).
Setting the file count to 0 allows to take action, for example, when a scheduled process is
expected to have files but it doesn't.
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.
Page 318