Learning ServiceNow: Best way to recover a deleted Install Base Item on a Dev instance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday - last edited Tuesday
Hey @AbW
In ServiceNow, there is no direct “Undo Delete” option for records (including records from the sn_install_base_item table). The recovery approach depends on what recovery options are available in your instance.
1. Check the Recycle Bin
Navigate to:
System Definition - Recycle Bin
Steps:
Search for the deleted Install Base Item record
Open the deleted entry
Click Restore
This is the quickest and preferred recovery method if the record has not yet been permanently removed by cleanup jobs.
2. If the Record Is Not Available in the Recycle Bin
You can review historical information to help recreate the record manually.
Navigate to:
System Logs - History Sets
System Logs - History Lines
These records can help identify:
- Previous field values
- Related updates
- Who modified the record
Note:
This does not automatically restore the deleted record, but it helps recover the original data.
3. Real-World / Production Best Practice
In production environments, the preferred recovery options are:
- Restore from instance backup
- Retrieve the record from another environment (after a recent clone)
- Reprocess the source integration/import if the data originated externally
If the Install Base Item was created through:
Import Sets
IntegrationHub
REST/SOAP integration
Discovery/CMDB sync
then re-running the source process is usually safer than manual recreation.
Best Practice Recommendations
For critical business tables:
- Restrict delete access using ACLs/roles
- Prefer “soft delete” approaches (for example, Active = false)
- Enable auditing where appropriate
- Maintain a proper backup and clone strategy
- Test deletion scenarios only in sub-production environments
*************************************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.
Regards
Vaishali Singh
Servicenow Developer
Linkedin - https://www.linkedin.com/in/vaishali-singh-2273361bb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
In ServiceNow, when you delete a record, it is not immediately gone forever (in most cases). It goes to a system table called: Deleted Records table (sys_deleted_record)
Steps to recover
- In Application Navigator, search:
👉 Deleted Records - Open the module:
👉 System Definition → Deleted Records - Search for your table:
sn_install_base_item
- Locate your deleted record
- Open it → Click Restore Record
After restoring, always validate relationships and data to ensure everything is working correctly.
In real projects, avoid deleting records—use Active = false or Retired status instead.
