We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to stop hardware asset creation for virtual CIs

Pawel Kozlik
Tera Contributor

Hi,

 

I'm looking for a way to stop inserts to alm_hardware table if the related CI is virtual. I tried to do that via a business rule that already does the same for locations other than the pilot locations for our project (that works fine):

PawelKozlik_0-1731510796029.pngPawelKozlik_1-1731510824502.png

Unfortunately these filters don't work as expected for virtuals. Is it because not all classes are included separately? I tested on Windows Servers and perhaps the parent Server class filter is insufficient. On the other hand I also tested on Computers and it didn't work either.

Can this be achieved any other way? Perhaps I should just include the filter in the script?

Or should I rather change the Asset tracking strategy for the virtual CMDB models to 'Don't create assets'?

5 REPLIES 5

Ajit's screenshot shows the field you need to modify on the model record. Navigate to the models for which you want to prevent asset creation and set Asset tracking strategy to Don't create assets.