Deleting a CI only (not asset)

danielazevedo
Kilo Explorer

Hi ServiceNow community.

At our organization we are in need of deleting CIs which have been mistakenly created due to imports. For example, our configuration data model does not include individuals' laptops, yet these are created when the asset is created.

We have a button on the (asset hardware) form which allows you to delete the asset only. Is there an equivalent, deleting the CI only. What would be the best practice to unlink and delete CIs?

Thanks in advance!

2 REPLIES 2

Michael Fry1
Kilo Patron

On your configuration item form, add the Asset Related List if not already there. Using List Control, (right-click on related list header > List Control), enable edit on that related list. That should give you both the New & Edit buttons now. Then remove the asset relationship from the configuration item. That breaks the link between the two and you can then delete the CI/



To prevent a new CI from getting recreated, you will also have to disable a couple of business rules like "Create CI on insert" & "Update CI fields on change".



That should get you close!


Hi Michael,



Thanks for the reply. I have added the related list but I am still unable to delete the CI. I can't seem to break the relationship. See below:


snow1.png


This is the warning which appears after:



snow.PNG


Am I missing something?