Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to change model category for an asset after it is deployed

Damhoej
Tera Guru

When I have created an asset (ex. a powerfull laptop) and have deployed it as a server (multiple model categories).

Now I want to deploy it as an office computer, and would like to change the model category to Laptop.

How can I change the model category, because ServiceNow locks that field after the first creation.

22 REPLIES 22

Hi Jens,



You need to write a background script and identify which fields you want to modify.


Then you can run this script after that record and table.



Thank you,
Ashutosh


that is what I feared the answer would be 😉


It contradicts a bit with the possibility to choose more than one model category.


Do you have any identifier which will say that you want to change this assets model category.



May be a list of assets?




Thank you,
Ashutosh


Only within our redeploy process.


we recycle hardware in our company (50k + computers), so I have to figure out how we can do it.


The process short is that an on-site technician gets a recycled computer from stockroom and install it.


It wil then get a new CI (but keeps the asset), where we give it a new CI name.


You mean Existing CI is reitred and new ci is created and linked with asset?



Thank you,
Ashutosh