Exclude some filtered data during cloning

Khanna Ji
Tera Guru

I want to exclude some data from the Incident to be cloned into Dev and Test instance. How can I do that?

 

Do I need to have a clean-up script to delete the data?

8 REPLIES 8

GlideFather
Tera Patron

Hi @Khanna Ji,

 

for that, you can specify tables to be excluded:

GlideFather_0-1757941244655.png

 

 

Or data to be preserved:

GlideFather_1-1757941262158.png

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Khanna Ji 

 

When you say "some data," what exactly do you mean? Technically, you can either clone the full table or not clone it at all—there’s no way to exclude specific data during a table clone.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul - I have incident table data and there is a field called sensitive. If that is true then those records should not be cloned but others must be cloned. Isn't there any way to do that?

Hi @Khanna Ji 

 

As far as I know, it's not possible. You either clone the full table or you don’t—there’s no option to partially clone a table.

 

https://www.servicenow.com/community/servicenow-ai-platform-articles/cloning-best-practices-data-ano...

 

https://www.servicenow.com/community/instance-help-forum/remove-personally-identifiable-information-...

 

https://www.servicenow.com/docs/bundle/yokohama-platform-security/page/administer/security/concept/d...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************