function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
h20riderh20rider 

Inserting a batch - one record fails the enitre batch

We are using CastIron to insert records into SFDC.

 

What has been happening is that when we have one error in the batch, the entire batch fails.  This has been happening to the Opportunity object

 

Also I am curious about how SFDC handles batches with triggers.  We have serveral triggers for this object.  So what happens when you have a record that fails

 

So you have x opportunities

and you have the following methods inside the trigger

Method1

Method2

Method3

 

if record#1 fails in Method1, is that part of the list that is sent to Method2 and 3