- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 01:02 AM
I want to get all the CI's based on the service offering.
In CSDM which are CI's.
As per my understanding Application services are CI's.
I am new to ServiceNow can anyone help me?
Solved! Go to Solution.
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 03:42 AM
I don't understand what you're asking, so I'll just give you some related information:
The table cmdb_rel_ci is where CMDB relationships (like runs::runs on, etc.) are stored. So if you want to find all of the CIs for an Application Service, for example, you need to find all rows in this table where your specific Application Service is the "parent" in the appropriate relationships to first find all of the first-level children of that Application Service. Then you need to go through the same process with each one of those first-level children, getting all of the rows where each of those is the "parent" in the appropriate relationships, etc. Until you have all of the "leaf node" child CIs associated with that Application Service.
Frank
Please mark this reply as Helpful/Correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2022 03:42 AM
I don't understand what you're asking, so I'll just give you some related information:
The table cmdb_rel_ci is where CMDB relationships (like runs::runs on, etc.) are stored. So if you want to find all of the CIs for an Application Service, for example, you need to find all rows in this table where your specific Application Service is the "parent" in the appropriate relationships to first find all of the first-level children of that Application Service. Then you need to go through the same process with each one of those first-level children, getting all of the rows where each of those is the "parent" in the appropriate relationships, etc. Until you have all of the "leaf node" child CIs associated with that Application Service.
Frank
Please mark this reply as Helpful/Correct.