Auto Populate Affected CIs - Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 04:19 AM
Hi all,
This is an urgent requirement and I am unable to find a solution.
Query -
Based on the CI selected in the "cmdb_ci" field in the Change Request form, all the downstream and upstream CIs should auto populate in the Affected CI's related liste
Currently this functionality is through the BSM Map, where we have to go one by one and right click on the CI and the add the CI to the affected CIs.
I want to automate this whole process .
Kindly help me out with this one.
Regards
Abhinav Khanna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 07:39 AM
The table "cmdb_ci_rel" holds the relationships between CIs.
You could look at this table. along with the relationships you want to add, and loop through each one.
Pete

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2015 08:18 AM
This SNGuru post should be exactly what you need. There's no need to get all downstream AND upstream CIs though. What you're looking for with BSM relationships is impact so you'll only want to go in one direction to show the CIs that are potentially impacted by a change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2015 04:21 AM
Impacted Services is a UI action which is already available
but yes the walking through of the CMDB relationship tree is really helpful.
What is required for me is to grab all the downstream and upstream CIs, what can I say they want it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2015 09:07 AM
Hi Abhinav,
Please post the solution if in case you have implemented it.
Thanks,
Mathan