Dynamic CI group relations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 02:54 AM
Hello,
Here's some context: We need to have relations between specific CIs and service offerings, for management and reportings. We're trying to use Dynamic CI for this, but I'm not sure how to make the Dynamic CI relations visible on the CI level.
We created a Dynamic CI, created a CMDB group populated using an encoded query (ex: the group only contains CIs from cmdb_ci_printer, that are manufactured by "Brother"). Then we added a "contains" relationship between the Dynamic CI and an Offering. This relationship is visible for the Dynamic CI and the offering, but not on the CI level (so: Printer A that's included in the Dynamic CI group, doesn't have any relations with the offering).
Is there a way to view relations created via Dynamic CI on the CI itself?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 05:05 AM
Hello @K-H ,
The link between the Offering and the Dynamic CI is a "hard" relationship, meaning it's represented by a record in the "cmdb_rel_ci" table.
But the members of the Dynamic CI have, as the name suggests, a "dynamic" relationship since they are determined on the fly based on the condition that you configured in the CMDB group. So there are no "cmdb_rel_ci" records for those printers. Hence you cannot see the Offering that they are (dynamically) related to.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 05:24 AM
Hello,
Thank you for the reply, I understand the difference. I have some subsequent questions then:
- Say in an incident, if Printer A (in my exemple above) is selected, can the support easily view the service offering attached to the Dynamic CI it's part of?
- If not, what's the best way to achieve that?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 09:04 AM
Hello @K-H ,
I am only aware of OOTB logic that resolves the member CIs of a Dynamic CI Group. For example, when adding the Dynamic CI Group as an Affected CI on an Incident or Change Request the system will also add the CIs belonging to that Dynamic CI Group.
But I have never seen anything where it's the other way around, i.e. determining a Dynamic CI Group based on some CI, much less the Service Offering that might be related to that Dynamic CI Group. We also need to consider that a CI could belong to multiple Dynamic CI Groups, and a Dynamic CI Group could be related to multiple Service Offerings.
So I do not think that there is an easy way to achieve what you are looking for.
Regards,
Robert