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
Scott BScott B 

Order of SaveResult objects in create call

Can I assume safely that the array of SaveResults that come back from the create call are the exact same as the order of the inbound sObject array?

In other words, does the Id in SaveResult 1 correspond to the object sObject 1, always?

 

 

DevAngelDevAngel

Hi Scott B,

Yes, that is an assumption you can safely make.