In ENA, a trigger is used to associate an action to the changing state of an incident. You can create triggers that are associated to a particular incident, or create global triggers that you can associate to all or a defined set of triggers.
With triggers, you can control the following:
- what state causes a trigger to action.
- if there is any delay to that action.
- whether the state of the incident after a delay (precondition) impacts on the action.
Triggers are useful, for example, when designing an event system with inbuilt escalation processes. You could create a trigger that would notify a network administrator when a particular incident has been opened for an hour, and also define a second trigger that would email a senior network administrator if the incident were to remain open for 2 hours.
To create, edit or delete a trigger:
- Click Main Menu and then Administration. This will open the Administration page.
- Click Event Administration to open the Event Administration page.
- Click the Incidents tab. You can create, edit or delete a trigger via one of two ways:
- the Triggers tab under the Add new incident window.
- the Edit Global Triggers button.
- Click Add to open the Create Trigger window.
- Enter a Name, and tick the enabled box to enable the trigger.
- Enter a Description for the trigger, e.g. its purpose.
- Specify when the trigger is applied in the On Transition To dropdown field, one of the following:
- Any Change - when you want the action to occur whenever there is a change in the incident. This is useful when forwarding events to third party software and you want to ensure all incidents are forwarded.
- Opened - action is only run once for the incident, when it is first raised.
- Reopened - action is not run the first time the incident is raised, but it is run each time the incident is subsequently reopened.
- Opened or Reopened - action is run the first time the incident is raised and each time the incident is subsequently reopened.
- Closed - action is run each time the incident is closed.
- Expired - action is run each time the incident is expired.
- In the Condition dropdown field, specify the condition applied to tests, either:
- None - ENA always processes the rule.
- All tests must succeed - ENA only processes the rule when all tests are met.
- At least one test must succeed - ENA processes the rule when at least one test succeeds.
- Specify if and for how long you want a delay before an action is performed in the Delay fields.
- If you have set Delay to anything other than None, you can specify an additional test before the action steps are run in the State After Delay dropdown field. For example, if Delay is set to 30 minutes and State After Delay is set to Open, then EMS will only run the action steps for an incident that is in an Open state 30 minutes after it was raised. Specify from one of the following:
- Open or Closed.
- Specify the action steps that the trigger applies in the Action Steps section.
- Click OK to save your trigger, otherwise click Cancel.
To edit a trigger, select it from the list of triggers in the Triggers tab and click Edit.
To delete a trigger, select it from the list of triggers in the Triggers tab and click Delete.