Page tree
Skip to end of metadata
Go to start of metadata

An event selector, a required component of an event policy, provides a mechanism to select one or more events to which an event policy can apply. Rather than specifying an event on which to perform an action, such as in a rule, a selector allows the specification of a list of event selection criteria, known as an Event Condition Formula (ECF). When an incoming event meets any of the specified event selection criteria, the cell applies the event policy to the event.

The syntax for a selector class is as follows:

Selector class syntax

MC_DATA_CLASS: SELECTOR
   DEFINES
      {
         name:         STRING; 
         description:  STRING; 
         based_on:     STRING, default="EVENT";
         ecfs:         LIST_OF ECF; 
       };
END

The syntax for a selector entry is as follows:

Selector entry syntax

SELECTOR; 
   name=_string_value_; 
   description=_string_value_; 
   based_on=_BASE_EVENT_CLASS_NAME_;
   ecfs=["EVENT_CLASS_NAME [where clause]", . . .];
END