Event Log Condition

Description

Starts a task/workflow when the monitored event is added to the Windows Event Log. It can also be used to pause workflow execution to wait for a particular event to be added to the Windows Event Log or determine the course of a workflow depending on whether or not a particular event is added to the Event Log.

Practical Usage

Used to make AutoMate BPA Server 9 react to system or application generated errors that are sent to the system event log. For example: If the system generates a log entry indicating that the DNS server could not be contacted, automatically notify the system administrator.

Parameters

General Properties

Property

Description

Log Type

The type of event log to monitor. The default option is Application, however, other log types can be selected by expanding the list box or a user can simply enter the log type manually.

Event Source

The source of the event in which to monitor. The default option is All Sources, however, expanding the list box will show all available sources on the system to select from or a user can enter the event source manually.

Event Type

The type of event to monitor. The available options are:

  • All Types (default)

  • Information

  • Warning

  • Error

  • Success Audit

  • Failure Audit

Event Category

The event category to monitor. The only available option is All categories.

Description

Allows a description for the event to optionally be entered. To monitor for partial descriptions, use wildcard characters * or ?.

Behavior Properties

The Behavior tab properties dictate how the system should react upon the occurrence of a condition. These properties are significant in determining whether the AutoMate Condition should act as a trigger object (used to fire off workflow execution), wait object (used to suspend workflow execution) or conditional (decision making) object.

More about condition behavior

AMTrigger

When this trigger is activated, it automatically passes the "AMTrigger" object to the task. AMTrigger can be used within a task to determine whether or not the task was started by a trigger, which trigger started the task, when the trigger was activated and other trigger related properties. F

Exclusive AMTrigger Fields

The AMTrigger fields described in the table below are specific only to the Event Log Condition.

Name

Type

Return Value

AMTrigger.EventType

Text

 (options)

Specifies the type of event that activated the trigger. The available event types are:

  • Information

  • Warning

  • Error

  • Success Audit

  • Failure Audit

AMTrigger.EventID

Text

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

AMTrigger.EventSource

Text

The source of the logged event that activated the trigger.

AMTrigger.EventCategory

Text

The category of the event that activated the trigger.

AMTrigger.EventDescription

Text

A description of the event that activated the trigger.

AMTrigger.EventComputer

Text

The computer name where the event occurred that activated the trigger.

AMTrigger.EventTime

Text

Returns the date/time that the monitored event was logged in the Windows Event Log.

AMCondition

When this condition is used in the middle of a workflow (as opposed to triggering condition) it automatically passes the AMCondition object to the task.

Exclusive AMCondition Fields

The AMCondition fields described in the table below are specific only to the Event Log Condition.

 

Name

Type

Return Value

AMCondition.EventType

Text

Returns the type of event that activated the Event Condition.

AMCondition.EventID

Text

Returns the unique ID of the logged event.

AMCondition.EventSource

Text

Returns the source value of the logged event.

AMCondition.EventCategory

Text

Returns the category of the event that started the Event Condition.

AMCondition.Description

Text

Returns a description of the event that started the Event Condition.

AMCondition.EventTime

Text

Specifies the time of the event that started the Event Condition.

 

NOTE: A full list of AMCondition and AMTrigger objects exclusive to each Event/Condition can be viewed from the Expression Builder by expanding the Objects folder and selecting the desired object from either the Triggers or Conditions folder.

See Also


About Events & Conditions | Condition Behavior | Event Log Condition | File Condition | Idle Condition | Key Event | Logon Condition | Performance Condition | Process Condition | SNMP Trap Condition | Window Condition | WMI Condition