AMTrigger.EventID

Syntax

%AMTrigger.EventID%

Trigger supported

Event Log

Type

Number

Description

Returns the Event ID of the logged event that activated the trigger.

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.

Displays available attributes about the event that triggered task execution in a message dialog.

Copy
<AMSHOWDIALOG WINDOWTITLE="Event Attributes" BUTTONS="ok_cancel" ONSECONDBUTTONCLICK="continue">Attributes about the event that triggered execution:
Event Description: %AMTrigger.EventDescription%
Event Category: %AMTrigger.EventCategory%
Event ID: %AMTrigger.EventID%
Event Type: %AMTrigger.EventType%
Event Source: %AMTrigger.EventSource%
Date/time the event was logged: %AMTrigger.EventTime%
Computer where the event occurred: %AMTrigger.EventComputer%</AMSHOWDIALOG>

Related Topics