Record Locking And Contention

Use when diagnosing or preventing UNABLE_TO_LOCK_ROW errors, record lock contention in Apex or Bulk API loads, FOR UPDATE locking, parent-child lock escalation, and deadlock scenarios. Triggers: 'UNABLE_TO_LOCK_ROW', 'record lock contention', 'FOR UPDATE SOQL', 'deadlock', 'lock timeout'. NOT for locks from a Flow — use flow/flow-record-locking-and-contention. NOT for approval-process locking — use admin/approval-processes.

PranavNagrecha 4158217 7 files · 39.5 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/apex/record-locking-and-contention commit 4158217be5

Frequently asked questions

npx skillmds add pranavnagrecha/record-locking-and-contention