How can I view the list of CMDB-managed tables and their relationships?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 02:42 AM
Hi Community,
I’m currently working with the CMDB in ServiceNow and would like to know if there’s a structured way to:
View the complete list of managed CMDB tables, including subclasses of cmdb_ci
Understand or visualize how these tables are related (inheritance hierarchy, reference relationships, etc.)
Are there recommended tools or features within ServiceNow (such as Class Manager, Schema Map, or others) that can help with this?
Any tips, documentation references, or best practices would be greatly appreciated!
Thanks in advance for your support.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 10:37 AM
Hello @Sungwan
1. https://www.servicenow.com/docs/bundle/yokohama-servicenow-platform/page/product/configuration-manag...
2.
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 11:30 AM
Hi @Sungwan,
There are several ways you can see the relationship mapping.
1) Open the schema view from following link.
https://MYSERVICENOWINSTANCE.service-now.com/generic_hierarchy_erd.do?sysparm_attributes=table_histo...
It will display the view of all the related tables in your instance.
It looks like snip below. NOTE - Don't put CMDB Baseline table in the search. It will take sometime to load and it is too large to display on your laptop screen. It won't help because scrolling is endless. 😫
2) You can use the script to fetch the data from your instance.
Example for computer table :
var tu = new TableUtils("cmdb_ci_computer");
var classes = tu.getHierarchy();
gs.include("j2js");
var jsClasses = j2js(classes);
gs.print("jsClasses = " + jsClasses);
gs.print("jsClasses.length = " + jsClasses.length);
3) You can use "CI Class Manager". I would recommend this one because of the interface, easy to navigate and change tables from search box.
Looks like snip below:
Cheers!
Let me know if this is what you were looking for.
Thanks,
Vikas K