Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example states that 10 seconds after the policy is invoked it will email and email addresses associated with 'Contact1' if the priority of the event is greater than zero.

Create an Action

An action is required that will invoke the escalation policy.  Actions are also created in 'policy' section of EventActions.nmis.  The opEvents administrator will determine where best to place the rule with EventActions.nmis.  Here is one example.

Code Block
titleEventActions.nmis
                                 '40' => {
                                        IF => 'event.priority >= 5',
                                        THEN => 'escalate.exampleEmailPolicy()',
                                        BREAK => 'false'
                                },

In this example any event with a priority equal to or greater than 5 will fire the escalation policy 'exampleEmailPolicy.  Because the BREAK attribute is set to false, any rules following this one will continue to be processed.

Verification