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

what is the solution if UNABLE_TO_LOCK_ROW is breached?



2 users are upserting the same record so they get the LOCK error. The first user locks the error just before the second user (From a @future call) tries to update the same record. Is there a work around? is there a way that the second user can retry when the record is unlocked? You can't make a @future call from a @future call.