Callout And Dml Transaction Boundaries

Use when diagnosing, preventing, or refactoring the 'You have uncommitted work pending' CalloutException caused by mixing DML and callouts in the same Apex transaction. Triggers: 'uncommitted work pending', 'callout after DML', 'DML between callouts'. NOT for the callout itself — use apex/callouts-and-http-integrations. NOT for rollback semantics — use apex/apex-savepoint-and-rollback.

PranavNagrecha Updated 26 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills commit 27d19ea490

Frequently asked questions

npx get-skill add pranavnagrecha/callout-and-dml-transaction-boundaries