Clone excludes /preserves

CV1
Tera Contributor

Hello All,

How to get list of tables preserved/excluded for cloning
specially for integrations related - credentials, endpoints, settings etc so that dev /uat does not have production endpoints or credentials.

 

TIA

6 REPLIES 6

AshishKM
Kilo Patron

Hi @CV1 , 

 

You can check the table [clone_data_exclude] and [clone_data_preserver] for current configured data and table records.

For all other custom setting, configuration, you need to prepare list  for all touch point and update the excluded tables or update the preserve records.

 

Example:

Do the system has any configuration using token, OAuth ( secret code ), preserve those record via adding the condition in clone_data_Presever table.

 

Exclude

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/managing-dat...

 

Preserve

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/managing-dat...

 

-Thanks

AshishKM

CV1
Tera Contributor

Hi,

Please advise steps to exclude endpoints on Flow rest step on dev. When we clone,the flow endpoints  get   production endpoints.how to avoid this ?

export all such records in xml and import after clone as post cloning activity.  

For that you can create Clone Preservers. Through a condition builder you can exactly define what to preserve. Doing this, will prevent you from having to do any manual post clone activities. Like one of the other responses, manually exporting/importing... WHY?! Automate!

 

When doing this properly, you can limited the number of manual steps post clone to ZERO. I have achieved this with one of my customers.