AMTrigger.FolderName
Syntax
%AMTrigger.FolderName%
Trigger supported
Type
String
Description
If the AMTrigger.Action field returns FOLDER ADDED, FOLDER MODIFIED or FOLDER DELETED, returns the path and name of the folder that was either added, modified or deleted (according to the folder action that the user initially set for 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 path and name of the folder that activated the trigger. - %AMTrigger.FolderName%" in a message box.
Copy
<AMSHOWDIALOG WINDOWTITLE="File System Trigger Return Value">The path and name of the folder that activated the trigger. - %AMTrigger.FolderName%</AMSHOWDIALOG>