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
Varun ChopraVarun Chopra 

Code creating two records with same external ID

Hi

I am upserting two records using code having same external Id. According to me it should insert first record and update second record with first one. But code is creating two records with same external Id. Can anyone explain why ?

Also please help me to resolve this issue.

 
Navee RahulNavee Rahul
Hi varun,

can you post the code please.