The CreatorCon Call for Content is officially open! Get started here.

Event rule and alert management

abhisek
Tera Contributor

Hi Team,

 

I am new to event rule and alert management rule. I have a requirement:

I have to create event rule and alert management. The requirement is, Add the following conditions to the new alert rule: CI Class = Cloud Service Account OR CI Class = Resource Group. IF class type is Linux server and Operational status is Operational and Install status is Installed THEN select this Configuration Item by default and add it to the CI field of the Incident ELSE  If Class type is Virtual Machine Instance Class, Operational status is Operational and Install status is Installed, then add the corresponding Configuration Item to the CI field of the Incident.

Can you please help me out?

 

Thanks&Regards,

Abhisek Chattaraj.

1 REPLY 1

Connectmustaq
Tera Expert

Hi @abhisek  ,

 

Your requirement involves building event rules and alert management rules in ServiceNow to automatically populate the Configuration Item (CI) field on Incidents based on certain CI class and status conditions.
 
 step-by-step approach to achieve this
  • Create or Modify an Alert Management Rule
  • Create an Event Rule (or Enhance the Alert Rule) for Incident CI Population
  • . Set Logic for Assigning Configuration Items (CI) on Incidents
  •  Integration With Incident Creation

Notes:

  • Identifying CI classes: Confirm exact sys_class_name values for "Cloud Service Account," "Resource Group," "Linux Server," and "Virtual Machine Instance" in your CMDB.
  • Operational and Install Status values: These are typically reference values; check their exact sys_ids or numeric codes in your environment.
  • You might implement this logic in a Business Rule on Incident, or within Event Management's Correlation Rules, depending on your process design.
This method ensures the appropriate CI is assigned automatically based on your described logic. If you want, I can provide detailed step-by-step instructions or sample scripts for your exact ServiceNow version.

 

If it is helpful, please hit the thumbs button and accept the correct solution by referring to this solution in the future it will be helpful to them.

 

Thanks & Regards,

Mohammed Mustaq Shaik