---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Avoiding errors

# Avoiding insert and update errors in Instance Data Replication {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Avoiding insert and update errors in Instance Data Replication

This guidance addresses how to prevent insert and update failures in Instance Data Replication (IDR) for producer replication sets created before the Utah release.
The key recommendation is to apply asysclassnamefilter to parent tables within the producer replication set when replicating parent and child tables together.
Show full answer Show less  

## Key Details

* **Why use the sysclassname filter:** Without this filter on a parent table, insert and update errors occur due to unique key violations and partial replication of child records.
* **Insert failure scenario:** When a child table record replicates, the system may attempt duplicate inserts to the parent table using the same `sysid`, causing failures.
* **Update failure scenario:** If a new child record is added and then updated on the producer, the consumer instance may fail to update the child record because only the parent record exists there initially.

## Practical Application for ServiceNow Customers

* **For parent tables:** Determine if child tables should be replicated. If yes, add a `sysclassname` filter specifying the parent's class name in the outbound entry of the producer replication set. For example, to replicate both tasks and incidents, add a filter like `Task Type is Task` on the Task \[task\] table.
* If only the parent table is replicated, the `sysclassname` filter is optional but recommended for clarity.
* If replication of the parent table is already active, edit its outbound entry to include the necessary `sysclassname` filter to avoid errors.
* **For child tables:** Decide whether the parent table should also be replicated. If yes, ensure the parent table has the appropriate `sysclassname` filter applied. If only the child table is replicated, the filter on the parent is optional.

## Why This Matters

Applying the `sysclassname` filter correctly ensures smooth replication without insert or update errors, preserving data integrity across instances. This is critical for ServiceNow customers managing complex data structures with parent-child table relationships.

## Next Steps

Review existing producer replication sets created before the Utah release. Confirm and apply the `sysclassname` filters as needed to prevent replication payload errors. Utilize related resources on monitoring replication status and resolving replication errors for ongoing management.  
You can avoid insert and update failures in Instance Data Replication (IDR) by specifying a class name filter in the producer replication
set.  
Important:  
This topic only applies to producer replication sets created prior to the Utah release.

When you replicate a parent table and one or more child tables, you must add a sys_class_name
filter to the parent table in the outbound entry of your producer replication set. If the
sys_class_name filter is missing, insert and update failures appear in Instance Data ReplicationReplication Payload Error in the following scenarios:

* A failed insert occurs when a record in the child table is replicated because the system attempts two inserts with the same sys_id to the parent table. Adding the sys_class_name filter to the parent prevents the unique key violation during the INSERT into the parent table.
* A new record is added to a replicated child table on the producer instance. Instance Data Replication (IDR) initially creates the record in the parent table on the consumer, but not the child table. If the child record is changed on the producer instance, during replication a failed update occurs on the child table in the consumer instance because the record only exists in the parent table.

{#preventing-insert-update-errors__ul_v2n_2k3_vvb}

If the table is a parent, decide if you want to replicate any of its child tables.

* If you want to replicate one or more child tables, you must identify the sys_class_name value for the parent table, and then add a corresponding sys_class_name filter to the parent table.For example, Task Type is the label for sys_class_name on the
  Task \[task\] table. To start replicating the incidents in addition to tasks, you must add
  \[Task Type\] \[is\] \[Task\] to the outbound entry for the Task \[task\]
  table.

* If you only want to replicate the parent table, the filter is optional.
* If the parent table is already being replicated, you must edit the parent and add the sys_class_name filter.

{#preventing-insert-update-errors__ul_esq_hrl_2tb}

If the table is a child, decide if you want to replicate its parent.

* If you want to replicate the parent table as well, you must identify the sys_class_name value for the parent table, and then add a corresponding sys_class_name filter to the parent table.For example, Task Type is the label for sys_class_name on the
  Task \[task\] table. To start replicating tasks in addition to incidents, you must add
  \[Task Type\] \[is\] \[Task\] to the outbound entry for the Task \[task\]
  table.

* If you only want to replicate the child table, the filter is optional.
* If one or more child tables are already being replicated, you must add the sys_class_name filter to the parent.
{#preventing-insert-update-errors__ul_mqz_jsl_2tb}
**Related concepts**   

* [Comparing replicated data between instances in Instance Data Replication](https://servicenow-prod.fluidtopics.net/GwoUB7q38QG41~bc0Ajbuw "Find missing or mismatched records by comparing replication data between instances in Instance Data Replication (IDR).")
* [Deploying a replication configuration from one instance to another in Instance Data Replication](https://servicenow-prod.fluidtopics.net/SljKTND8yAF6ufTNJLT8JA "Copy a replication configuration from one instance to another through an update set in Instance Data Replication (IDR).")
* [Cloning options with Instance Data Replication](https://servicenow-prod.fluidtopics.net/7dmkiekH725RThMnOpSsvw "Ensure that certain tables are preserved or excluded to clone your database from one instance to another successfully with Instance Data Replication (IDR).")
* [Monitoring replication status in Instance Data Replication](https://servicenow-prod.fluidtopics.net/UaD5juasqZXd6C3M29RzLg "Monitor the status of active producer and consumer replication sets, scheduled jobs, seeding requests, license usage, or scheduled replication through the Instance Data Replication (IDR) Monitoring Dashboard.")
* [Monitoring queues in Instance Data Replication](https://servicenow-prod.fluidtopics.net/OSPa7tsp_SBBDx8_b3Yl9g "Monitor the replication record queue, message produced queue, message consumed queue, and the messages processed for all replications sets through the Instance Data Replication (IDR) Queue Dashboard.")  
**Related tasks**   

* [Manage consumer access to replication data in Instance Data Replication](https://servicenow-prod.fluidtopics.net/HClRbtX2h93janq4t6KLtA "Approve a consumer's request to access replication data in Instance Data Replication (IDR).")  
**Related reference**   

* [Resolving data replication errors in Instance Data Replication](https://servicenow-prod.fluidtopics.net/clHm6gEeVBpYyvmKU2VWnA "Resolve errors and monitor the status of Instance Data Replication (IDR) replication sets.")

*[\>]: and then


