Loading

Flow Error: 'Maximum number of duplicate updates in one batch (12 allowed)'

Udgivelsesdato: Jun 19, 2026
Beskrivelse

When Does the 'Maximum number of duplicate updates in one batch' Error Occur?

This error occurs when multiple duplicate scheduled actions — such as waiting interviews — are created for the same record, exceeding the maximum of 12 duplicate record updates allowed in a single batch in Salesforce Flows.
For example, this can occur when using the Bulk API to make a large number of updates to the same record simultaneously, triggering a Flow that contains a Wait element. Salesforce batches actions scheduled to occur at the same time, as described in the Transactions and Scheduled Actions documentation: "Scheduled actions aren't performed independently. They're batched together with other actions that are scheduled to execute at the same time."

Løsning

Two workarounds are available to prevent the 'Maximum number of duplicate updates in one batch' error.

Workaround 1: Limit Record Updates Per Bulk Operation

Avoid updating the same record more than 12 times in the same bulk operation when a Flow with a Wait step is triggered by those updates. Spreading updates across multiple bulk operations with a time offset can prevent the batch limit from being reached.

Workaround 2: Add Criteria to Reduce Unnecessary Updates

Add more specific entry criteria to the Flow so it only triggers when the record actually needs to be updated. This reduces the number of Flow interviews created for the same record. See Avoid unwanted Actions in Process for more information.

Vidensartikelnummer

000382298

 
Indlæser
Salesforce Help | Article