AMTrigger.NBFiles
Syntax
%AMTrigger.NBFiles%
Trigger supported
Type
Number
Description
If the AMTrigger.Action field returns "TOO MANY FILES", this value is the total number of files in the directory being monitored.
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Display the message "The total number of files in the directory being monitored - %AMTrigger.NbFiles%" in a message box.
Copy
<AMSHOWDIALOG WINDOWTITLE="File System Trigger Return Value">The total number of files in the directory being monitored - %AMTrigger.NbFiles%</AMSHOWDIALOG>