AMTrigger.OldFolderName

Syntax

%AMTrigger.OldFolderName

Trigger supported

File System

Type

String

Description

If the AMTrigger.Action field returns FOLDER RENAMED, this value is the original path and name of the folder that was renamed.

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 original path and name of the renamed folder that activated the trigger. - %AMTrigger.OldFolderName%" in a message box.

Copy
<AMSHOWDIALOG WINDOWTITLE="File System Trigger Return Value">The original path and name of the renamed folder that activated the trigger. - %AMTrigger.OldFolderName%</AMSHOWDIALOG>

Related Topics