+ Start a Discussion
lopezclopezc 

what is the solution if UNABLE_TO_LOCK_ROW is breached?

Hi,

 

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.