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

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?

10 REPLIES 10

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

 


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---

Dr Atul G- LNG
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.

*************************************************************************************************************
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

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

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...

*************************************************************************************************************
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

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