CIs Creating Assets, but set to Don't create assets

Marc Schlank1
Tera Contributor

We have a Hardware Model called Microsoft Virtual Machine that is set with Asset tracking strategy = Don't create assets, however assets are being created.   ServiceNow Admin said that the CI initially was discovered under an Unknown Model, that may have created the Asset. I reviewed the Unknown Model and that also has Asset tracking strategy = Don't create assets.     

Why would the Asset record be created. We noticed this for 3 CI Classes

4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @Marc Schlank1 

 

Check this KB: KB0712445 Why do Assets get created when inserting a CI that has a Model that is set to Don't create... 

 

Resolution

Features that populate the CMDB should insert the CI in one go, or at least make sure the initial insert includes the correct/final Model value. If an out-of-box feature isn't doing this then please report the issue to Customer Support.

Workaround if the initial insert is done with an "Unknown" model:

Find the 'Unknown' Model(s) that includes the Model Category for the Class of the CI that is being inserted, and set it as Asset tracking strategy=Don't create Assets as well.

  1. Identify the Table/Class of a CI that you didn't want an Asset for. This is the table name you see at the top of the CI form next to the CI name (e.g. Windows Server)
  2. Navigate to Product Catalog -> All Models (cmdb_model)
  3. Filter the list using:
    • Name IS "Unknown", AND
    • Model Categories CONTAINS <your CI class> (e.g. Windows Server)
  4. For each of those records:
    • Open that model in a form, and open the 'General' section/tab.
    • Set Asset tracking strategy=Don't create Assets
    • Save.

Inserts using that "Unknown" Model will now not cause an Asset to be created. Subsequent updates to the Model of the CI will either create an asset or not, depending on the asset tracking strategy of the model you change it to.

 

Also check:  Why was no Asset created when a new CMDB CI record was inserted? - Support and Troubleshooting KB07... 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

fknell
Tera Patron

HI @Marc Schlank1,

Do you know the class where Discovery placed the CI initially? From a configuration standpoint you might look to a final reclassification result, whilst the CI might have been created in a completely different CMDB class table.  

 

Hope this helps!

Marc Schlank1
Tera Contributor

I am noticing there are "Unknown Models" in both the Product Model and the Hardware Model tables, how  to know which Unknown is getting initially selected from Discovery?

I understand the asset is created from the CI via an intake from discovery. My question is, if the CI/asset is created, later probably reclassified and moved into a different CI class. You might see this in the CI history.

 

Something that comes into my mind: Do you discover via ITOM Visibility or how is the intake done?

Are all CIs which are not supposed to create an asset from the same discovery source?