AMCondition - Event Log

Description

An AutoMate condition can be used in the middle of a workflow as a means to suspend execution until a specific condition takes place or as a conditional element to determine a workflow's path resulting from the occurrence (or non-occurrence) of a specific condition. When used in this manner, a pre-named (or fixed field) dataset called AMCondition is created and populated with a collection of data related to the observed condition. AMCondition is a standard AutoMate dataset which can be used during the course of a workflow to examine particular characteristics about the initiated condition, such as the type of condition that occurred, when it occurred and what computer it occurred on.

Parameters

The total number of fields that AMCondition creates during runtime and what they are named depends largely on the AutoMate condition that was used. Each condition contains its own set of unique AMCondition fields. The table below lists the fields related to the Event Log Condition. For more details about a specific AMCondition field, click the associated link.

Name

Data Type

Return Value

AMCondition.EventCategory

Options

Returns the action that took place to cause the condition to activate.

AMCondition.EventComputer

String

Returns the source database that was monitored to cause the condition to activate.

AMCondition.EventDescription

String

Returns the name of the table that was originally monitored to cause the condition to activate.

AMCondition.EventID

Number

Returns the type of database that activated the condition.

AMCondition.EventSource

String

Returns the source of the logged event that activated the condition.

AMCondition.EventTime

Date/Time format

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

AMCondition.EventType

Options

Specifies the type of event that activated the Event Log 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.