AMTrigger.EventType

Syntax

%AMTrigger.EventType%

Trigger supported

Event Log

Type

Text (options)

Description

Specifies the type of event that activated the trigger. The following table lists available event types.

Event Description
Information An event that describes the successful operation of an application, driver, or service. For example, when a network driver loads successfully, it may be appropriate to log an Information event. Note that it is generally inappropriate for a desktop application to log an event each time it starts.
Warning An event that is not necessarily significant, but may indicate a possible future problem. For example, when disk space is low, a Warning event is logged. If an application can recover from an event without loss of functionality or data, it can generally classify the event as a Warning event.
Error An event that indicates a significant problem such as loss of data or loss of functionality. For example, if a service fails to load during startup, an Error event is logged.
Success Audit An event that records an audited security access attempt that is successful. For example, a user's successful attempt to log on to the system is logged as a Success Audit event.
Failure Audit An event that records an audited security access attempt that fails. For example, if a user tries to access a network drive and fails, the attempt is logged as a Failure Audit event.

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