How to Preserve Application & Data after cloning?

The SN Nerd
Giga Sage
Giga Sage

Hi Community,

I have a scoped application that will only be used in sub-prod environments.

I have created table exclusions and data preservers within the application.

The key problem is that the application does not exist in Production, so after each clone back from Prod the application and data is lost.

Is there a way to Preserve an application in it's entirety, including application data, after a clone from an environment which does not have the application installed?

Thanks


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
2 REPLIES 2

sumeet_n
Kilo Guru

One way I can think of is - move the application to prod in deactivated state (meaning no one in no way can access or use it) and run post clone cleanup script to activate the application again in target instance. Below link may help.



System Clone - ServiceNow Wiki


I have considered this as an option but hope there might be some other way.


It is looking like there may be no other option.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022