AMTrigger.BeforeURL
Syntax
%AMTrigger.BeforeURL%
Trigger supported
Type
String
Description
Returns the BeforeURL path. When moving or renaming an item, BeforeURL refers to the original path/file name and AfterURL refers to the new path/file name.
For example, if moving /share/reports/log.txt to /share/reports/log_results/log.txt:
-
BeforeURL refers to /share/reports/log.txt
-
AfterURL refers to /share/reports/log_results/log.txt
Example
- 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.
This sample task displays the message "The new path and file name is %AMTrigger.AfterURL%" in a dialog.
<AMSHOWDIALOG>The new path and file name is %AMTrigger.AfterURL%</AMSHOWDIALOG>