Uninstalling Applications
Overview
Uninstalling an application in ServiceNow requires elevated administrative privileges. While the process is generally straightforward, complications can arise when managing the underlying data structures, specifically regarding the “Retain tables and data” configuration.
This guide covers the standard uninstallation procedure and provides a solution for scenarios where the system prevents the automated removal of application tables.
Standard Uninstallation Procedure
- Log in to your instance with the admin role.
- Navigate to All > Application Manager.
- Select the Installed tab to view applications currently residing on the instance.
- Locate and click on the specific application you wish to remove.
- In the Quick Actions section, click Uninstall.
Data Retention Configuration
Upon clicking Uninstall, a confirmation dialog will appear listing all associated files, including table records, fields, and cross-scope definitions.
- Retain tables and data::
- Enabled (Checked): Preserves the physical tables and their records in the database after the application logic is removed.
- Disabled (Unchecked): Permenantly drops the tables and deletes all associated data from the database.

- Configure the retention checkbox as desired.
- Click OK to begin the uninstallation process.
- Verification: Once the process completes, verify the removal by checking the Installed tab or navigating to System Definition > Tables to ensure the schema has been handled according to your selection.

Troubleshooting: Greyed Out Retention Checkbox
If the application includes an Import Set Table, you must manually decommission the table before the system will allow you to uninstall the application and its data simultaneously.
Manually Deleting Import Set Tables
- Navigate to System Definition > Tables.
- Filter the list where the Application matches the scope you are uninstalling.
- Locate tables where the Extends table (Super class) is
Import Set Row(sys_import_set_row). - Open the table record.
- Click the Delete UI Action.
- When prompted, type
deletein the confirmation field and click OK. - Return to the Application Manager and restart the uninstallation; the Retain tables and data checkbox will now be editable.