- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2024 02:01 AM
Hi all, What is the relation between cmdb_model and cmdb_model_category. Which table stores the relation between these two.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2024 04:17 AM
Hi @Khushi_ ,
Refer below KB article to provide more insight of relation in cmdb Model and cmdb model category.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724180
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Ajay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2024 11:33 PM
Hi
In ServiceNow, the cmdb_model and cmdb_model_category tables are part of the Configuration Management Database (CMDB) schema, and they are related to each other through a reference field.
Here is the basic relationship between these tables:
cmdb_model Table:
- This table stores information about hardware and software models in the CMDB.
- Examples of models include computer models, server models, printer models, etc.
- It contains various attributes related to the models, such as the manufacturer, category, and other details.
cmdb_model_category Table:
- This table stores information about model categories in the CMDB.
- Model categories provide a way to categorize and organize different types of models.
- Examples of categories might include "Computer," "Server," "Printer," etc.
Relation:
- The relationship between these two tables is established through a reference field in the cmdb_model table.
- The reference field in the cmdb_model table points to the cmdb_model_category table, indicating the category to which a specific model belongs.
Reference Field:
- In the cmdb_model table, you would typically find a reference field that refers to the cmdb_model_category table. The name of this reference field might be something like category or cmdb_model_category.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2024 09:11 PM
There is not table which stores relationships between Model and Model Category
Model is an Attribute of a CI/Asset with label as Model ID(Reference Field)
Model Category- Model Categories match up CI Classes and Asset Classes. If you create a CI of a particular type, ServiceNow knows to create a corresponding asset of the type identified. When you create an asset, you identify the Model Category so ServiceNow can create a corresponding CI.
details are in this article
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2024 10:41 PM
Hi @Khushi_,
In ServiceNow, the `cmdb_model` table represents Configuration Item (CI) models, which are templates or blueprints for actual CIs in the Configuration Management Database (CMDB). On the other hand, the `cmdb_model_category` table stores information about the categories associated with CI models.
The relationship between `cmdb_model` and `cmdb_model_category` is established through a reference field in the `cmdb_model` table. Specifically, the `cmdb_model` table includes a reference field named `category` that points to records in the `cmdb_model_category` table.
To locate the relationship information between these two tables in the ServiceNow platform, you would inspect the schema of the `cmdb_model` table. Here's a brief summary of the relationship:
- Table Name (Reference Field): `cmdb_model`
- Reference Table: `cmdb_model_category`
- Reference Field in `cmdb_model`: `category`
By exploring the schema or data dictionary in ServiceNow, you can gather detailed information about the fields, relationships, and dependencies between the `cmdb_model` and `cmdb_model_category` tables. This understanding is crucial for effectively managing and configuring CI models and their associated categories in the CMDB.
If you found this reply useful, please mark it as solution/helpful.
Thanks and Regards,
Ehab Pilloor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2024 07:20 AM
Hi ehab, Thank you for your response 😊. Now I have the clear picture of these two table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2024 04:17 AM
Hi @Khushi_ ,
Refer below KB article to provide more insight of relation in cmdb Model and cmdb model category.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724180
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Ajay Kumar