best practice for deleting a custom app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 07:00 PM
I tried this once before and learned that I orphaned some records which messed up the UI. Do I have to delete all records from all tables before deleting a custom app?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 10:58 PM
Hi Ralph, when you're referring to records, are your referring to:
a) custom tables from your custom app
b) OOB tables
c) custom tables that inherit from an OOB table
d) tables from other application
My understanding is that ServiceNow will handle option "a" when you delete a custom app, but it will not handle b, c and d.
Here is what the wiki says on this subject:
By default, deleting an application also deletes all the records that are associated with the application, such as tables, business rules, and menus. Alternatively, you can deactivate an application that is no longer in use to preserve all application data.
...
In the confirmation dialog box, enter delete and click OK.
- The system deletes the custom application record unless the application extends other applications (starting with the Dublin release).
source: Managing Applications - ServiceNow Wiki
I hope this is helpful sir!
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 10:28 PM
Hi Berny,
You mentioned that ServiceNow will handle option "a" when you delete a custom app, but it will not handle b, c and d.
Does this mean that it will not allow me to delete any custom application which contains tables inherited from OOB tables OR it is allowed but is against the best practice? Because, i created a custom app and tables in it which extend task table but it still let me delete the application.
Please explain.
Thanks,
Vineetha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 10:31 PM
Hello Vineetha,
This is the expected behavior. You can delete custom table with extensions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 11:10 PM
Hi Pradeep,
Thank you for your reply, i understood now.
Regards,
Vineetha