AMTrigger.OldFileName

Syntax

%AMTrigger.OldFileName%

Trigger supported

File System

Type

String

Description

If the AMTrigger.Action field returns FILE RENAMED, this value is the original path and file name of the file 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 file name of the renamed file that activated the trigger. - %AMTrigger.OldFileName%" in a message box.

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

Related Topics