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
KeithS.ax1018KeithS.ax1018 

Unable to obtain exclusive access to this record

Hi all,

 

Starting this morning we have gotten several locking errors with the message from the title. This error occurs when saving new Case records using the SOAP service, and we have seen them in two different applications which use the service. The code for the operations has not changed significantly in months. Any clues? I've seen in other posts that this "just happens" from time to time. Is there any way to stabilize it?

Best Answer chosen by Admin (Salesforce Developers) 
JayantJayant

This is something temporary and would be fixed automatically in 10-15 minutes maximum.

Some common causes are -

1. Sharing Rules are being calculated.

2. A picklist value has been replaced and replacement is in progress.

3. A custom index creation/removal is in progress.

4. Most unlikely one -  someone else is already editing the same record that you are trying to access at the same time.

All Answers

JayantJayant

This is something temporary and would be fixed automatically in 10-15 minutes maximum.

Some common causes are -

1. Sharing Rules are being calculated.

2. A picklist value has been replaced and replacement is in progress.

3. A custom index creation/removal is in progress.

4. Most unlikely one -  someone else is already editing the same record that you are trying to access at the same time.

This was selected as the best answer
Lalith BachimanchiLalith Bachimanchi
Thanks Jayant