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
Sornakumar SundararajanSornakumar Sundararajan 

Salesforce internal id order?

Hi,

When a new record is inserted in an object, is the generated ID of the the new record guarenteed to be greater than a older record? 

Thanks!
Himanshu Jasuja 9Himanshu Jasuja 9
Hi sornakumar,

yes ,the recent record created Id always have greater than a older record.

For Example -- I created the 5 dummy record in the org and you can see that the last letter increase.

0012800000Y7x4X
 
0012800000Y7x4c
 
0012800000Y7x4h
 
0012800000Y7x4w
 
 
0012800000Y7x51

Hope this helps you.