Create an alert management rule

task australia Updated Nov 16, 2026 9 min read create-alert-management-rule.md
Raw file servicenow.com

Create an alert management rule to track and resolve alerts, for example, by opening an incident or launching remediation.

Before you begin

To enable remediation with a subflow, you can use a subflow that is available with the base system, or you can create your own subflow. For details, see Create a custom subflow for alerts.

Role required: evt_mgmt_admin, flow_designer

About this task

Note: Use Respond automation in Service Operations Workspace, the updated way to automate alert responses.

Use alert management rules to track and resolve alerts.

While working in the alert management rule designer, you can work in multiple sections without losing information in any section.

Note:

  • Alert management rules that are not configured to perform any action are skipped and the rule is automatically set to inactive.
  • Mark the alert with the In Maintenance status when:
    • an alert is bound to a CI by a user action, such as an alert management rule
    • and the CI is in the Maintenance state

Create alert management rules that:

  • Locate other alert management rules that have relevance to the selected alert.
  • Determine when the execution of the rule takes place.

Alert management rules do not necessarily complete in the order in which they are invoked.

You can configure alert management rules to:

  • Automatically generate and link incidents, tasks, or knowledge articles to alerts.
  • Automatically apply a remediation workflow or enable users to manually run remediation.
  • Automatically construct a URL according to the value of specified fields in the alert.

To assist you, several alert management rules are provided with the base system. You can use them as presented or you can use them as examples to build custom alert management rules.

Rule

Description

Active

Open sensor dashboard in PRTG

Open the sensor dashboard in the Paessler PRTG Network Monitor (PRTG) application.

Yes

Oracle EM Launch Target Status and View Events

Launch Oracle Enterprise Manager to view: - Target Status

  • Event for alerts from source Oracle EM

Yes

Drilldown to OMI

Drill down to the HP Operations Manager i (OMi) application.

Yes

Create Incident on Primary Critical Alert

Create an incident for primary critical alerts. The incident can be created automatically or manually.

No

Search Google for "description"

Open Google Search in a browser to search for data according to the description that appears in the alert.

Yes

Create Incident

Create an incident for all alerts that are not in maintenance state. The rule runs automatically on selective update.

No

Create Incident Manually

Manually create an incident for alerts that are not in maintenance state.

Yes

Create Major Incident Candidate

Create a major incident candidate for all alerts that are not in maintenance state and are not secondary alerts. A major incident candidate can be promoted to become a major incident.

No

Create Major Incident

Create a major incident for all alerts that are not in maintenance state and are not secondary alerts.

No

If your instance was upgraded from Kingston, the alert action rules that were provided with the Kingston base system are available to you. However, if you modified any of the rules, the changes made are not carried over.

Alert management rules run 5 seconds after an alert is updated, resetting the timer if updates occur within that window. This delay helps trigger remediation actions, such as incident creation, only when the issue is clear and stable, which reduces duplicates and unnecessary noise. To change the default 5-second delay, create the evt_mgmt.alert_rule_delay property on the All > System Properties > All Properties and change the value. To learn how to create a property, see Add a system property.

Procedure

  1. Navigate to Event Management > Rules > Alert Management Rules.

  2. Select New and then fill in the fields.

Field

Description

Name

Unique name for the rule.

Active

Check box for enabling the rule. If this check box is selected, you must specify:

  • in the Alert Filter section, an alert filter
  • in the Actions section, at least one of these actions:
    • active subflow
    • workflow
    • quick response

Order

Order in which rules are evaluated when multiple rules are defined for the same alert. Alert management rules are evaluated in ascending order. The default value is 100.

Multiple alert rules

Instruction about whether to search for additional rules:- Search for additional rules: Execute the current rule then continue and execute other matching rules in the order of rule priority, where the lower number has the higher priority.

  • Stop search for additional rules: Execute only the current rule for the alert that matches the filter.

When selecting this option, a rule configured second in a rule hierarchy may run before the results of the first rule take effect.

Description

Descriptive text for the rule.

Assignment group

Group that limits the rule to alerts assigned to it. The rule doesn't assign the alert to the group.If no assignment group is defined in the alert rule, the rule is considered a global rule. A global rule applies to alerts in any assignment group, including alerts with no assignment group.

If an assignment group is defined, the rule is evaluated only for alerts whose Assignment group field matches. For example, the rule doesn't run for an alert with an empty Assignment group field.

First, the global rules run and then the rules that belong to the assignment group of the alert.

3. Select **Alert Filter** and specify conditions for alerts that this rule is applied to.

Field

Description

Rule is activated when

Rule execution takes place when:- Alert changes to filter (default)–the rule runs each time an update moves the alert from not matching the filter to matching it. If the filter is still matched on following updates of the alert, the rule is not applied again. If the alert stops matching the filter and later matches it again, the rule runs again. If the alert was closed and then reopened, the rule is applied at the next update that matches the filter. Thereafter, when there is an update of the alert, the rule is no longer applied.

  • Alert matches filter–the content of the alert matches the filter. On following update of the alert and if the filter is matched, the rule runs and is applied to the alert. The rule remains applied for every matching update. Note: The rule is evaluated only when the alert is updated. For Alert changes to filter, the rule must be evaluated on an update in which the alert doesn't match the filter, so that it can run again when the alert next matches. If you select Stop search for additional rules on another rule, rules after it aren't evaluated for that update, and a later rule set to Alert changes to filter might not run as expected. If several rules apply to the same alert, select Search for additional rules.

Alert filter

Preview

Function to preview alerts that match the specified condition. A hyperlink shows how many alerts match the filter. [Omitted image "alert-preview-filter.png"] Alt text: Alert Preview filter If you select the hyperlink, the browser opens another tab that lists alerts in the Alerts [em_alert_list] table. The list shows which alerts match the rule, including closed alerts. Alerts that have already been run by the rule are not marked in any way. You can select any alert to view further details.

Conditions

Conditions that, if fulfilled, cause the filter to be applied. For more information about building conditions, see Using the condition builder.To add another condition, select New Criteria.

Note: The Created on condition is not invoked when running the Event Management - Evaluate Alert Management Rules job. Instead, use the Updated on condition, because the job detects alerts based on the time they were updated and not on the time they were created.

Related List Conditions

Conditions to include a relationship with another table in the filter.1. Select Table and select the required table. 2. Specify the conditions for this filter. For more information about creating related lists, see Add related list conditions.

4. Select **Actions**.
In this section, you can configure the following action types as a response to alerts or to remediate alerts:

-   Remediation Subflows: Execute a subflow provided with the base system.
-   Launch Applications: Open applications and browsers that you configure.
**Note:** The Remediation Workflows option is deprecated. To enable flows to be triggered by alerts, use the Flow Designer.
  1. In the Remediation Subflows section, follow these instructions to add subflows:

    1. Under Subflow, double-click the cell.

    2. Select the search icon [Omitted image "LookupUsingList.png"] Alt text:.

      The list of subflows provided with the base system appears. For more information, see Event Management subflows in the base system.

    3. From the subflow list, select a subflow.

    4. Repeat, adding as many subflows as required.

      [Omitted image "alert-remediation-subflows-example.png"] Alt text: Remediation workflow example

    5. To specify when the subflow must be executed, double-click the cell under Execution.

      Name Description
      Automatic The subflow is executed automatically when the rule is matched.
      Manual The subflow is executed manually if required when the rule is matched.
      Both When the rule is matched, the subflow is executed automatically and you can optionally execute the subflow again manually.
    6. Under Automatic executions limit, double-click the cell and enter the integer number of times to execute the subflow.

      After the subflow has been executed the indicated number of times, it does not run anymore.

    7. To enable the subflow to be executed, double-click the cell under Active and select true.

      A link in the cell under Link to Flow Designer appears only after a subflow has been selected and the rule has been saved.

      [Omitted image "link-to-flow-designer.png"] Alt text: Link to subflow

  2. To add instructions to launch applications or to open browser windows, in the Launch Applications section:

    1. Under Display Name, double-click the cell.

      Specify a name for the link.

    2. In the URL field, compose the URL using data from the alert in the format:http://${source}.com:${port}/${cmdb_ci.name}

      The Active field is automatically updated.

      Any URL-based action can use the alert parameters and the URLs can refer to wikis, messaging services, REST APIs, and so on.

  3. Select Submit.

Result

The alert management rule is added to the list of available rules that can be used to resolve alerts.

Parent Topic:Alert management rules for resolving alerts

Related topics

Apply a quick response in an alert

Search documentation
Search document titles and file paths on the australia branch