AMTrigger.ThreadID
Syntax
%AMTrigger.ThreadID%
Trigger supported
Type
Number
Description
Returns the unique ID of the thread that caused the trigger to activate. This depends on if the trigger is monitoring for a specific thread threshold (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.
The following displays the message The thread ID that caused the trigger to activate - %AMTrigger.threadID%:
Copy
<AMSHOWDIALOG>The thread ID that caused the trigger to activate - %AMTrigger.threadID%</AMSHOWDIALOG>