Exclude some filtered data during cloning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 05:57 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 06:02 AM
Hi @Khanna Ji ,
you can use Data preservers for this purpose.
Data Preservers usually keep data during a clone, but you can flip the logic by setting a condition so that only those matching records are preserved in the source only → meaning they won’t be cloned to sub-instances.
Example: If you have a field Risk Level = High, you create a Data Preserver for the Incident table with the condition Risk Level is High.
During clone, those records won’t be copied over to Dev/Test.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 06:31 AM
you can exclude the incident table during clone so that it doesn't flow from source to target
good explanation here
Clone results based on Exclusion and Preserver configuration
Cheat Sheet: Mastering ServiceNow Cloning Configurations
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 06:47 AM
Hi Ankur - not the complete table data has to be excluded. Only the onces with customField = True must be excluded in the clone. Rest all must be copied to the lower instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 08:26 AM
@Khanna Ji then maybe skip the whole table and export only particular records - via XML for example.