Bulk CI retirement using Transform Map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Hi All,
I need suggestions on the best approach to retire bulk CI/server records in CMDB. The requirement is to update Operational Status, Installed Status to Retired and also remove the existing relationships when CI retired without modifying system fields.
Currently ,I am trying through transform map like batch-wise, and sometimes the Updated ,Updated By fields are not modifying and sometimes they get updated with the latest date with my name.
I even added sysAutoFields(false) in my script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
“The best and out-of-the-box (OOTB) way is to use the certification task.”
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @UshaK5308581747 ,
Why are using the transform map , you can do this using the Data manager policy.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @UshaK5308581747 .
The most effective, best-practice approach is to use CMDB Data Manager to handle the status updates, paired with a business rule or Flow Designer to remove relationships. This method executes bulk retirement safely, preserves system fields, and removes stale relationships.
Refer Servicenow Documentation: Manage retirement definitions for CMDB Data Manager
Procedure
- Open either workspace:
- Navigate to Workspaces > CMDB Workspace, and then select the Data Manager quick link on the Home view.
- Navigate to Workspaces > Service Graph Workspace. Then, in the navigation panel, select the Governance icon. Then, in the Governance pane, select Data Manager overview.
- In the Get started area on the Data Manager overview page, select Manage retirement definitions.
- On the Data Manager settings page, review the Retirement definitions list view.
- Optional: Drill down to a definition and then, on the Retirement definition form, toggle the Active switch to activate or deactivate a definition.
- Optional: Edit the conditions on the definition.
- Select Save definition.
- On the Data Manager settings page, select Add definition.
- Fill out the Retirement definition form and then select Save definition.Field Description
Active Toggles the retirement definition between active and inactive. Table Table that the retirement definition applies to. The retirement definition will be derived by all child classes of the specified parent class. Condition builder Condition that reflects on what retirement means in the organization. Target CIs in Retire policies that belong to the specified table are set as specified in the retirement definition. You can, therefore, only use AND clauses in the definition. OR clauses aren't applicable.