CI Deletion.

Anupam Thomas
Tera Expert

Hi,
I am searching for - What is the best practice way to delete the CI’s from CMDB? when there is a need to delete CIs in bulk ? 
Please share some docs or reference links available on same.

Thanks in advance.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Anupam,

there are multiple ways

1) background script or schedule job

I would suggest not to delete but retire those CIs

refer below links for help

Delete CIs for a CMDB class

CI mass deletion using background script

delete the list of CIs from ServiceNow

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Anupam,

there are multiple ways

1) background script or schedule job

I would suggest not to delete but retire those CIs

refer below links for help

Delete CIs for a CMDB class

CI mass deletion using background script

delete the list of CIs from ServiceNow

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Sajilal
Mega Sage

Please do not delete CIs , better to inactive/retire etc.

Why would you want to delete them? If its because of duplicates just inactivate the wrong ones as it could cause issues if they are associated with any other Tasks in your Instance.

Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.

Thanks,
Saji

Hi Saji,
Thank you for the reply could you please share the procedure doc for retiring/inactive or any reference material for the same.

Check this article for reference. Hope this helps, if you have the question answered, then request you to close this thread and mark the answer as correct and helpful.

https://community.servicenow.com/community?id=community_question&sys_id=c85cd306db9c3f08f7fca851ca9619c3

Thanks,

Saji