Populate Affected CI, Impacted CIs and Offerings Related List based on Selected CI on Incident.

Pratik Malviya
Tera Contributor

Hello Techies,

 

I need to populate the related items of a Configuration Item (CI) selected in the Configuration Item field of an Incident. Specifically, when creating a new Incident and selecting a configuration item, I want the following actions to occur upon saving the record:

  1. All related Application Services of the selected CI should be populated in the "Affected CIs" related list.
  2. All related Business Services should be populated in the "Impacted CIs" related list.
  3. All related Service Offerings should be populated in the "Service Offering" related list.

Currently, out-of-the-box (OOTB) functionality populates the selected Configuration Item in the "Affected CIs" related list, the selected Offering in the "Offering" related list, and the service in the "Impacted CIs" related list.

My requirement is to expand this functionality to include all related items of the CI, similar to the way they are displayed in the CI Tree Map, including relationships up to L3 levels.

I know this I can find in "cmdb_rel_ci" where all the relationship stores and we can iterate through to get items of relationship L1, L2 and L3. My concern is when I am doing iteration it also brings more CIs than what I actual see on Related Item on Configuration Item form.

If you could help me to understand what is the logic of visiblity of Related Item on CIs. Because in case of service offering some CIs showing only L1 levels of offerings some are showing both L1 and L2 offerings and some only shows L2 offerings. what is the logic of visibility of it.

 

Your response will be much appreciated, Hope to get solution soon. 

Screenshot 2024-09-02 at 9.28.56 AM.pngScreenshot 2024-09-02 at 9.31.18 AM.pngScreenshot 2024-09-02 at 9.33.21 AM.png

 

Thank you 🙂

7 REPLIES 7

Hi @Pratik Malviya 

 

Please check these change properties

 

AGLearnNGrow_0-1725437532247.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Yes, That I already did. It populates impacted services of on CI belonging to Services not for other types of CIs like Class "cmdb_ci_appl_cisco_fibre" and etc.

 

I want the below to be achieved example.
Incident ->

PratikMalviya_0-1725438706318.png

 

I go to CI Test (cmdb_ci_appl_cisco_fibre)

I want to populate the Impacted Services CI-related list with CI relationship with Incident and to be visible on it. The red box I intentionally did due to data security. However, the Green border Box values should be populated in the Impacted Service Relaed list. All the relations like L1, L2, and L3 only.

PratikMalviya_1-1725439210511.png

 








Hi Pratik,

 

Did you find the solution?