Defining actions
Actions are similar to procedures.
A monitor can define any number of actions. Finding an event, or pattern of events, of interest can trigger an action.
A query can define any number of actions. If defined, actions must be after the find statement. Expressions in the find pattern or find block can invoke the actions defined in that query.
You can also trigger an action by invoking it from inside another action. You can also declare an action as part of an event type definition, and then call that action on an instance of that event.