AMCondition - Performance

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 Performance Condition. For more details about a specific AMCondition field, click the associated link.

Name

Data Type

Return Value

AMCondition.ProcessID

Options

Returns the unique ID of the process that caused the trigger to activate.

AMCondition.ThreadID

Number

Returns the unique ID of the thread that caused the trigger to activate. This is dependent on if the trigger is monitoring for a specific thread threshold (i.e. thread state).

AMCondition.Value

String

Returns the value of the parameter that caused the trigger to activate.

 

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 sub-folder.