AMTrigger.ThreadID

Syntax

%AMTrigger.ThreadID%

Trigger supported

Performance

Type

Number

Description

Returns the unique ID of the thread that caused the trigger to activate. This is dependent on if the trigger is monitoring for a specific thread threshold (that is, thread state).

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 thread ID that caused the trigger to activate - %AMTrigger.threadID% in a message box.

Copy
<AMSHOWDIALOG>The thread ID that caused the trigger to activate - %AMTrigger.threadID%</AMSHOWDIALOG>

Related Topics