Fix script for Product model re-formatting to comply to the normalized model in Content library

KirilD
Tera Contributor

I have some issue with importing assets via Import set. Usually we import some assets from old systems, where the model is 99% not compliant with the models in the content library. Also during the import, I noticed the product model is created directly in [cmdb_model] (Product model) table. But I actually need this to be in the [cmdb_hardware_product_model], where the normalization could happen. I'm wondering if someone is aware of a fix script, which can run against the imported (along with the assets) not-normalized product models and fix it, based on a lookup in content library ( [sn_hamp_hw_product_model] table) ?

1 REPLY 1

Mark Manders
Mega Patron

https://www.servicenow.com/community/cmdb-forum/fix-script-for-product-model-re-formatting-to-comply...


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark