How can I view the list of CMDB-managed tables and their relationships?

Sungwan
Tera Contributor

Hi Community,

I’m currently working with the CMDB in ServiceNow and would like to know if there’s a structured way to:

  1. View the complete list of managed CMDB tables, including subclasses of cmdb_ci

  2. 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,

2 REPLIES 2

VikMach
Mega Sage

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. 😫

Vikas1_0-1745432122061.png

 

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:

Vikas1_1-1745432639302.pngVikas1_2-1745432773368.png


Cheers!
Let me know if this is what you were looking for.

Thanks,
Vikas K