AMTrigger.Count

Syntax

%AMTrigger.Count%

Trigger supported

File System

Type

Number

Description

If the AMTrigger.Action field returns TOO MANY FOLDERS or TOO MANY FILES, this value is the total number of folders or files that activated the trigger.

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 folders or files that activated the trigger - %AMTrigger.Count%" in a message box.

Copy
<AMSHOWDIALOG WINDOWTITLE="File System Trigger Return Value">The total number of folders or files that activated the trigger - %AMTrigger.Count%</AMSHOWDIALOG>

Related Topics