Appearance
Alert Trigger
The alert trigger is used to start a workflow based upon a monitoring event.

The Alert Filter
The upper section of the alert trigger contains an alert filter. You can add one or more filters to match the set of alerts you want to match. The "Match alert when" allows you to set an "and" or "or" relationship among the filters.
You can also set a filter to be a filter group. In this case one or more "sub" filters are collected under a single filter allowing you to create an "and" or "or" behavior.
Delay
The delay time is the time in seconds before the trigger is fired. This gives intermittent alerts time to clear before action is taken.
The Variables Tab
Like all triggers, the alert trigger can inject one or more variables. This is covered in Passing Variables with Triggers.
Automatically Injected Variables
The alert trigger will, itself, inject information into the workflow that it executes. As with any variable these can be accessed by all tasks within the workflow. This is covered in more detail in the section: Introduction to Variables.
The following variables can be used throughout a workflow in any task or entry that accepts a directive when the alert trigger fires:
- alert : com.xona.situate.alert : The state of the Alert
The com.xona.situate.alert object implements the interface shown below. Any of those methods can be called on the alert variable reference.
java
public interface AlertInterface extends Serializable {
public String getAsset();
public String getGuid();
public int getGeneration();
public boolean isEvent();
public int getLevel();
public int getErrorCode();
public long getTime();
public String getId();
public Object [] getArgs();
public String getExceptionMesg();
public String getExceptionTrace();
public String getCreatedAboutStr();
public String getCreatedByStr();
public Attributes getAttributes();
public Acl getAcl();
}