AMTrigger.OldFileName
Syntax
%AMTrigger.OldFileName%
Trigger supported
Type
String
Description
If the AMTrigger.Action field returns FILE RENAMED, this value is the original path and renamed file name of the file.
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.
The following displays the message The original path and file name of the renamed file that activated the trigger. - %AMTrigger.OldFileName%:
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>