cmdb_ci & alm_hardware table relation

VeerendraNayak1
Tera Contributor

Hi Experts,

 

We are uploading data in CMDB(cmdb_ci) using data source ( Excel ).

We observed that some assets are created automatically in 'alm_hardware' table. and not able to find how those are getting created multiple times in 'alm_hardware' table.

VeerendraNayak1_0-1676364667647.png

VeerendraNayak1_1-1676364738950.png

 

 

13 REPLIES 13

The hardware assets are created automatically when you create the hardware CI.  There is a business rule that handles this creation, as well as synchronization of common/related attributes.  The creation of the asset is determined based on the Model you choose for the CI.  If the model's asset tracking strategy is to defer to the Model Category, then you will get an asset as long as the model category of that model defines an asset class.  If you want to skip the creation of assets for a specific model (say a VMWare virtual server model for example), then go to that Model record and change its asset tracking strategy to "Don't create assets".  Otherwise you should have an asset record created for every CI that is discovered.  You can also tell ServiceNow to defer the creation of assets for an entire model category which would require someone to manually trigger asset creation on a case by case basis, but managing that process consistently requires a lot more care and feeding and is prone to error, so I typically do not recommend this approach unless you have a very mature asset management program in place and clear business requirements to justify the additional processing.


The opinions expressed here are the opinions of the author, and are not endorsed by ServiceNow or any other employer, company, or entity.

Vishal Birajdar
Giga Sage

Hello @VeerendraNayak1 

I guess, there is business rule running behind it.

can you please uncheck 'Run Business rule' in transform map and check once.

 

VishalBirajdar7_0-1676387146038.png

 

Hope this works for you...!!!

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

This is not recommended and is strongly discouraged.  You should allow the normal creation of assets, and instead look to the configuration of your models and model categories to specify when and where assets are created.  Also it is best practice to use the IRE rather than traditional transform maps to import your CIs.


The opinions expressed here are the opinions of the author, and are not endorsed by ServiceNow or any other employer, company, or entity.

Indeed. Thanks for the information.

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Hello Vishal,

But we made BR is inactive.

 

Let us check by uncheck Run Business rule check box.