Script for Duplicate CI Remediation Workflow & Remediate Duplicate Tasks Refresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2022 08:51 PM
After a cleanup of our CMDB I am looking to:
1- Refresh all Remediate Duplicate Tasks
Most of Remediate Duplicate Tasks are no longer relevant, lots of old CIs and relationships got retired, archived, deleted. I would like to re-execute de-duplication audit as of a new CMDB. If there is a way to exclude all old tasks and re-process the engine that creates the duplicate tasks, to get only new tasks it would be great. Open to other similar options.
2 - Custom Remediate Duplicate Task Workflow
When there are several de-duplication tasks to go through, then it is possible to automate the remediation task. Using CMDB Remediation Rules and applying a custom workflow would do, but I need a script to use on this workflow. Would anyone be able to share a script to automate the duplicate CI remediation task so that I don't have to go manually through one by one.
- Labels:
-
Data Health Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022 01:18 PM
I too would love to see how others have tackled the second question you have. We are in a similar situation in our organization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 01:35 AM
1. Assuming your CMDB cleanup went fine, if the existing de-duplication tasks are not relevant, you can mark them as "Closed Complete" and re-run the health jobs. This should create new de-duplication tasks with the correct CIs.
2. Please look out for the De-duplication template feature releasing as a part of SR - CMDB - CMDB Workspace v4.1. This will provide users the ability to group together a set of de-duplication tasks and remediate them in one go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2025 03:22 PM
Abhishek,
I have seen in some documentation where 'Not a Duplicate' has been used to close out a Remediation Task. Is there a ServiceNow script to close duplicated CI as Not a Duplicate?
Is there documentation somewhere on how to set up a template to close out Remediation Tasks when the identified CIs are truly not a duplicate?
