The following example illustrates the format of an ASL filter used to filter Notification List and Escalation Policies. It filters for notifications with an EventName attribute “Failure.”

The name of the notification object is assigned to the variable notification. If the value of EventName is Failure, the value of Result is set to TRUE and the notification passes the filter, as illustrated in the following code sample:

START do {
      notification = object(NotificationName);
      if (notification->EventName == "Failure")
      {
         Result = TRUE;
      }
      else
      {
         Result = FALSE;
      }
}

To apply the ASL filter, access the filter builder. Select the Use ASL Script checkbox and type the name of the ASL script.