The CreatorCon Call for Content is officially open! Get started here.

uninstall and reinstall plugin to check if the customizations are removed

jigyasa23
Kilo Expert

If I try to uninstall the plugins related to an application and reinstall them again to check if the customizations that I had done in the application (say risk management application) such as ui policy , client scripts and field creation relabel etc. were removed or not.

Has someone got any knowledge on this subject, if this works? 

3 REPLIES 3

Community Alums
Not applicable

Hi @jigyasa23 ,

The Service Now documentation is very clear in this area, see ServiceNow Plugins

Note: After a plugin is activated, you cannot disable or deactivate it. If needed, you can hide the functionality. You should thoroughly test, in a non-production instance, the specific features and functionalities that are installed when you activate the plugin before using them in a production instance.

When a plugin is activated, the installation process performs table schema changes and loads XML files (data, configurations, etc.). Deactivating the plugin does not roll back or disable these changes. Manually removing records by deletion can cause unexpected behavior. If the new functionalities are impacting users, it's recommended to either disable* or update the new functionalities and/or restrict access to them through the use of roles and ACLs.

*If any, you could hide the Application Menu from the Filtered Navigation. You can hide it by doing the following:
- Go to System Definition > Application Menus
- Under title, search for the plugin
- Open the entry and uncheck "Active" box
- Save and re-login

If a plugin has very recently been installed there may be a rollback context available to revert the changes, use this as last resort for production scenario's.
This will not always undo all schema changes to prevent the potential of data loss (for example if the max length of a column on task was increased and that column is shared with other children of task)
For sub-production instances, as long as production does not have the plugin installed/active, clone or restore that configuration over the sub-production instance to get rid of the unwanted plugin installation, this way you are ensured that the configuration again closely resembles production, this you want at all times to ensure there are no unexpected differences between instances while promoting changes through the development cycles.

 

Community Alums
Not applicable

Hi @jigyasa23 ,

I think you can request the health Scan from ServiceNow. It gives more information about the instance's health. This would also give you information around the customizations done.

 

 

Community Alums
Not applicable

Hi @jigyasa23 ,