AMTrigger.TaskName
Syntax
%AMTrigger.TaskName%
Trigger supported
Global (supports all triggers)
Type
String
Description
Returns the name of the managed task that the trigger was attached to. Useful to determine the responsible task when two managed tasks point to the same task 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.
Display the message "AMTrigger.TaskName return value - %AMTrigger.TaskName% " in a message box.
Copy
<AMSHOWDIALOG WINDOWTITLE="AMTrigger return value">AMTrigger.TaskName return value - %AMTrigger.TaskName%</AMSHOWDIALOG>