Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Deletion strategy for CMDB CI

Sudharshan Mohi
Tera Contributor

We have a requirement to delete CMDB CI records (windows) if they are not discovered after 90 days. This is not applicable for all but differes for few - Unix and ESX CI which comes with 60 days deletion period.

Where to set Deletion CI configuration in Discovery.

1 ACCEPTED SOLUTION

User511834
Tera Expert

To accomplish this you will need to do three things:

1. Set the Staleness Rule for the Windows Server CI Class to 90 days as below:

find_real_file.png

2. Create a workflow to delete the Windows Server CI if it's stale

find_real_file.png3. Create a CMDB Remediation Rule

find_real_file.png

Also, make sure that the Create Task option below is turned on for staleness rule, otherwise the remediation task will not be created:

find_real_file.png

Instead of deleting the CI you could also change the CI to Non-Operational and its status to retired, that would be preferable rather than deleting things via workflow, you can then review these retired CIs and delete them as needed:

find_real_file.png

View solution in original post

6 REPLIES 6

@Michael de Boer

Thanks for your response

I don't want to delete CI's, i want to make them retire.

- I have created the Create a CMDB Remediation Rule but i am not sure what will be workflow for this?

Damhoej
Tera Guru

I would use Data Manager and retire the CIs.
Then I would archive the retired CIs (after  while) and then let Data Manager delete the CIs when no longer needed.