Populate Affected CI, Impacted CIs and Offerings Related List based on Selected CI on Incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2024 09:04 PM
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:
- All related Application Services of the selected CI should be populated in the "Affected CIs" related list.
- All related Business Services should be populated in the "Impacted CIs" related list.
- 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.
Thank you 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 01:12 AM
Please check these change properties
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 01:44 AM - edited 09-04-2024 01:44 AM
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 ->
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 07:24 AM
Hi Pratik,
Did you find the solution?