+ Start a Discussion
ashish jadhav 9ashish jadhav 9 

can we update ID in upsert? if yes then how many times? if no, then why?

Carlos Campillo GallegoCarlos Campillo Gallego
Hi Ashish,

If you are referring to the main record ID of anything within Salesforce, the answer is no, you can't change that ID, if you are talking about a custom field that you have marked it as external ID, yes, you can change that value as many times as you wish.

This "main" record ID I mention, is the ID you can see at the end of the URL of any record in your org.