- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 01:02 AM
Hello All,
We are planning to install discovery and we are working on our development phase.
When we performed a discovery scan , the Service Now instance has created records for laptops and desktops in COMPUTERS ci table. Our customer has asked us to further classify the computer cis as desktops and laptops.. We tried searching in wiki and community but did not find any helpful information.
Can anyone help us with some information on this?
Regards,
Anil Karamsetty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 11:01 AM
I'd agree that a separate classification is overkill. The approach I've generally used is to use the Chasis Type to record this data. I've always thought it would be better to track this on the model table since it doesn't change on an CI by CI (or asset by asset) basis, however I'd rather not add a field on model, so I stick with the the Chasis on cmdb_ci_computer. You could use the suggestions above to get the query from discovery.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 01:07 AM
5 Creating a New CMDB Class
Each CMDB class is its own table, so creating new classes requires creating new tables.
To create a new class (such as Laptops or Thin Clients😞
- Create a new table (see following table for specific values).
- [Optional] If you want other CMDB classes to extend the new one, select the Extensible check box. You can also select this field after the table is created.
- Use the Table Columns embedded list to add any class-specific columns. For example, the following image shows a way to create a new CMDB class for laptops.
- Click Submit.
- Add any related lists. Refer to the existing classes (such as Workstations) for examples.
- Position the new module in the correct location in the application navigator.
- In the Laptops example, the new class belongs next to the Workstations module, under the Base Items heading.
- Right-click Configuration in the application navigator and select Edit Application.
- Locate the Workstations module in the list and note the value in the Order column.
- Open the new Laptops module and give it an order value one number greater or less than the order number of the Workstations module.
- Click Update.
- In the Laptops example, the new class belongs next to the Workstations module, under the Base Items heading.
CMDB Classifications - ServiceNow Wiki
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 02:10 AM
Hi Paul,
Thanks for replying. Seems to be the link contains information on how to create new CMDB Classes and how to make the NEW CMDB class extend from another table. But our requirement is different , when we run discovery , we want discovery to automatically identify and classify it as Lapotp or Desktop.
We are aware that such configuration needs to be done in "Ci Classification" table in Discovery Definition application. But we do not have idea about what should be the query or filter criteria that needs to be configured in order to allow discovery to classify the discovered computer as Laptop or desktop. Please help
Regards,
Anil Karamsetty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 09:19 AM
Hi Anil,
Before I give you more information I want to make sure I get the picture right and certainly on how you're going to implement this at the CMDB site. Did you create 2 subclasses or are you working with an attribute on Computer level (for example: a specific choice list)?
This isn't a straightforward thing to implement but it sure is possible IF you can query on the computers whether they are a desktop or a laptop. If they can return this answer, there is a way to implement the requirement.
Kind regards,
Stijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 10:03 AM
Hi,
Thanks for replying.Do you know any parameters that help us to query?
Regards,
Anil