Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Rules-based group not created by alert correlation rule because filter is case sensitive - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Rules-based group not created by alert correlation rule because filter is case sensitive
KB0829007

Rules-based group not created by alert correlation rule because filter is case sensitive


868 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Description

Rules-based group not created by alert correlation rule.

  1. When an alert is created, BR "Calculate correlation rule" is executed. The BR calls AlertManager.calculateAlertCorrelation(grAlert)
  2. AlertManager calls AlertCorrelationHandler which:
    1. A. Checks if the alert matches one of the filters, for primary or secondary alert
    2. If the filter matches either primary or secondary, look for a match corresponding to the primary or secondary as configured in the alert correlation rule.
  3. On step A above a comparison is made based on the alert filter which is case sensitive.
  4. On step B above a GlideRecord query is made which is NOT case sensitive.

The above can lead to an inconsistent behavior depending on what alert is created first, Primary vs Secondary, a group may or not be created.

Steps to Reproduce

  1. Create alert rule with condition for primary alert for a CI type, cmdb_ci_win_server for example, and description CONTAINS "HeartBeat"(uppercase b)
  2. Condition for secondary alert for CI type only, cmdb_ci_db_mssql_databasefor example
  3. Create alert for secondary CI
  4. Create alert for primary CI and description with "Heartbeat" (lowercase b)
  5. Confirm no group created

Note: If alert for primary CI is created first in the scenario described above, the group is created.

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

The fix doesn't change the default behaviour, but it does add a new system property so that this can be controlled. Add this system property to table sys_properties if you don' t want the values in the condition to be case sensitive:
Name: sa_analytics.correlation_case_sensitive
Type: True/False
Value: false

As a workaround in previous versions, ensure the alert correlation rule filter matches case as well. Add an OR condition to take care of both case scenarios in the example where case cannot be guaranteed, i.e. "Heartbeat" OR "HeartBeat"


Related Problem: PRB1410894

Potentially Seen In

There is no data to report.

Fixed In

Quebec

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.