Re-Create Assets from Existing CIs

icahall1
Tera Contributor

I'm looking to create fresh hardware asset records after wiping the asset table clean to essentially start from scratch. I've been testing a few options but none have been ideal. Best scenario would be the following:

  • Uses existing CI records to generate new assets
  • Can be defined by hardware model/model category
  • Doesn't require all CIs to be re-created or updated

I've played around with amending or duplicating the "Create Assets on Insert" business rule but I really need the job to A) run without requiring Insert or Update and B) need to be able to tailor it to Model Category so that every single existing CI doesn't get an asset created.

1 REPLY 1

Ashok Sasidhara
Tera Sage
Tera Sage

Check if the solution given in the following URL is helpful:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0760294

 

Also following are some additional best practices to consider as part of your ongoing asset management:

1. In the 'Model categories' table, setting 'Enforce CI verification' field as true for any model category will defer asset creation for that model category. There is a Create Assets button (highlighted in attached screenshot) which can be used to create asset records for that model category for all such deferred Assets. This button will be displayed for all Model category records which have the 'Asset Class' field populated.

Note: This is applicable only for new CIs that are yet to be created and you can use it only if you have a need to defer the asset creation for any model categories.

AshokSasidhara_0-1698393217092.png

 

2, The asset creation can be controlled further at the model level using the 'Asset tracking strategy' field (highlighted in screenshot) in the Product models table. By default, it is set as 'leave to category' which means that the asset creation will happen based on whether 'Enforce CI verification' is set as true or false on the model category. You can use the other 2 options to override the asset creation setting present on the model category. i.e. Populate Asset tracking strategy as 'Create consumable asset' if you would like to create consumable assets for that particular model or populate it as 'Don't create assets' if you don't want to create assets for that particular model (this option is typically recommended for the models which you know that your organization is not using)

AshokSasidhara_1-1698393549728.png