How to automatically close duplicate alerts (Event Management) in ServiceNow based on error details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
In our environment, we receive multiple alerts for the same integration. For example, if the Salesforce integration generates 4 alerts and 3 of them report the exact same error, I want ServiceNow to handle them as follows:
Out of the 3 duplicate alerts, 2 should be closed automatically with a note like “Already reported with Alert Number X”.
The remaining 1 alert should stay open and visible in the alert table.
Has anyone implemented a similar deduplication logic in ServiceNow? How can I parse the alert description to identify duplicates (Node + Error details) and then automatically close the redundant alerts while keeping one active?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I’m curious, how do you determine if a particular even is a duplicate? Is there a reference field or a combination of fields that helps you with that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago - last edited 4 weeks ago
I have only one field which helps is Description field. which contains below content. and the requirement is we need to achieve with AI ops.
"Tibco Notification - SALESFORCE_INTEGRATION - [CSF]:CSFGRP_4191873
2025-05-15T08:47:13.049-07:00--*<?xml-version=*1.0*-encoding=*UTF-8*?>.<ns0:upsertAllOutput-xmlns:ns0=*urn:partner.soap.sforce.com*>.----<upsertAllResponse>.--------<ns0:result>.------------<ns0:created>true</ns0:created>.------------<ns0:errors>.----------------<ns0:message>unable-to-obtain-exclusive-access-to-this-record</ns0:message>.----------------<ns0:statusCode>UNABLE_TO_LOCK_ROW</ns0:statusCode>.------------</ns0:errors>.------------<ns0:id-xmlns:xsi=*http://abc.com>.------------<ns0:success>false</ns0:success>.--------</ns0:result>.----</upsertAllResponse>.</ns0:upsertAllOutput>........BUSINESS-ID-LABEL----->Financial_Account_Number__c..........BUSINESS-ID-VALUE----->040552AE480*
Severity:warning
Object:[CSF]:CSFGRP_4191873"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @brahmandlapally ,
I would suggest handling it in event level instead of alert level. You can control creating multiple alerts for same issue by utilizing event deduplication capability. This u can achieve by adjusting the message key based on your requirement.
If this response resolved your query, kindly mark it as helpful and accept the solution.
Regards,
Chandra Kumara BS