AMTrigger.VarName[i]

Syntax

%AMTrigger.VarName[i]%

Trigger supported

SNMP Trap

Type

String

Description

Returns the associated variable name that was sent with the SNMP trap. Use AMTrigger.BindingVarNumber to find the total number of available variables. To use this property, simply append the number to the end if the property name - it is not an array. (Example %AMTrigger.VarName2%)

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 associated variable name that was sent with the SNMP trap - %AMTrigger.VarName[i]%" in a message box.

Copy
<AMSHOWDIALOG MESSAGE="The associated variable name that was sent with the SNMP trap - %AMTrigger.VarName[i]%" />

Related Topics