Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Uninstall the Application?

Devika
Tera Expert

What could be the impact if we uninstall the application from ServiceNow studio instead of Application Manager?

2 ACCEPTED SOLUTIONS

Lakshmi888888
Tera Expert

 

In ServiceNow, you cannot actually "uninstall" an application from ServiceNow Studio. Studio allows you to delete an app and its underlying configuration files entirely, whereas the Application Manager cleanly uninstalls an app, which can optionally retain tables and user data.
 
Key Differences in Behavior

 

  • ServiceNow Studio (Deletion):
    • Permanently removes the application container and all associated application files (such as business rules, scripts, and forms) from the scope.
    • Does not provide a granular prompt to retain or drop custom tables and database records safely; it completely strips the development files out of the metadata.
    • Primarily meant for removing local unreleased or in-development scoped applications you are building.
  • Application Manager (Uninstallation):
    • Safely de-provisions the app runtime environment.
    • Offers specific options like "Retain tables and data" so you do not accidentally lose historical table rows or customer transactional records generated by the app.
    • Handles dependency checks cleanly to ensure no other active production app breaks when components are removed. 

 

 
Impact of Using Studio Instead

 

  • Data Loss Risk: Deleting an app via Studio deletes component files and can leave database tables or records orphaned or harder to purge cleanly if you intended a soft removal.
  • Broken Dependencies: Studio forces a raw delete without running standard platform uninstallation routines, bypassing pre-checks for cross-scope dependencies or active data links.
  • Source Control / Repository Mess: If the app is tied to Git or the Application Repository, deleting source files raw from Studio can leave local metadata, branch configurations, or remote tracking out of sync. 

Some reference links: https://www.servicenow.com/docs/r/platform-administration/t_UninstallApplications.html

https://www.servicenow.com/docs/r/application-development/servicenow-studio-classic/delete-an-app-fr...

https://www.servicenow.com/docs/r/platform-administration/application-manager/uninstalling-apps-app-...

 

 


Please mark this response as Helpful or Correct if it helped.

View solution in original post

Tanushree Maiti
Tera Patron

Hi @Devika  

 

Using Servicenow Studio : You can delete apps that are no longer needed from ServiceNow Studio to remove them permanently from the instance.

 

Using Application Manager: 

Application Manager can be used to uninstall applications that are no longer in use on your instance.

Some applications can be uninstalled from your instance to remove scripts, background jobs, and roles that are no longer needed. In some cases, it's possible to keep the associated fields and data after uninstalling the application that generated them.

 

Refer:

Uninstalling applications using Application Manager 

Delete an app from ServiceNow Studio 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

2 REPLIES 2

Lakshmi888888
Tera Expert

 

In ServiceNow, you cannot actually "uninstall" an application from ServiceNow Studio. Studio allows you to delete an app and its underlying configuration files entirely, whereas the Application Manager cleanly uninstalls an app, which can optionally retain tables and user data.
 
Key Differences in Behavior

 

  • ServiceNow Studio (Deletion):
    • Permanently removes the application container and all associated application files (such as business rules, scripts, and forms) from the scope.
    • Does not provide a granular prompt to retain or drop custom tables and database records safely; it completely strips the development files out of the metadata.
    • Primarily meant for removing local unreleased or in-development scoped applications you are building.
  • Application Manager (Uninstallation):
    • Safely de-provisions the app runtime environment.
    • Offers specific options like "Retain tables and data" so you do not accidentally lose historical table rows or customer transactional records generated by the app.
    • Handles dependency checks cleanly to ensure no other active production app breaks when components are removed. 

 

 
Impact of Using Studio Instead

 

  • Data Loss Risk: Deleting an app via Studio deletes component files and can leave database tables or records orphaned or harder to purge cleanly if you intended a soft removal.
  • Broken Dependencies: Studio forces a raw delete without running standard platform uninstallation routines, bypassing pre-checks for cross-scope dependencies or active data links.
  • Source Control / Repository Mess: If the app is tied to Git or the Application Repository, deleting source files raw from Studio can leave local metadata, branch configurations, or remote tracking out of sync. 

Some reference links: https://www.servicenow.com/docs/r/platform-administration/t_UninstallApplications.html

https://www.servicenow.com/docs/r/application-development/servicenow-studio-classic/delete-an-app-fr...

https://www.servicenow.com/docs/r/platform-administration/application-manager/uninstalling-apps-app-...

 

 


Please mark this response as Helpful or Correct if it helped.

Tanushree Maiti
Tera Patron

Hi @Devika  

 

Using Servicenow Studio : You can delete apps that are no longer needed from ServiceNow Studio to remove them permanently from the instance.

 

Using Application Manager: 

Application Manager can be used to uninstall applications that are no longer in use on your instance.

Some applications can be uninstalled from your instance to remove scripts, background jobs, and roles that are no longer needed. In some cases, it's possible to keep the associated fields and data after uninstalling the application that generated them.

 

Refer:

Uninstalling applications using Application Manager 

Delete an app from ServiceNow Studio 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti