Rule Based Alert Correlation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 11:47 PM
Hi,
Requirement: If there is any open existing alert with the same values, make existing alert as primary and the current alert as secondary. similarly, If the existing alert is closed, the existing alert should reopen and so the incident if another alert comes in with the same values.
In my case the existing alert is reopening but instead of reopening the existing incident, it is creating new incident. Why is it working so?
SCRIPT:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 08:06 PM - edited 09-20-2023 08:11 PM
Do not write BR for any kind of Alert Correlation. Technically you can use Scripts .
Refer this sample Rule and try to edit as per ur needs.
Use Below KB for more debugging
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0829008
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 10:59 PM
Thank you @Rahul Priyadars Let me check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 06:58 AM
No where in your script do you make actions on the incident table - if your alert management rule doesn't have a flow to check for open incident and reopen it the incident will stay closed.
There is no OOTB relationship between and incident and em_alert all it should all be driven by the flow on the alert management rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 12:25 AM
Hi @Nosey Yeah there is no OOTB relationship, we've created alert management rule to create incident.