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 27d19ea 7 files · 36.6 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/apex/callout-and-dml-transaction-boundaries commit 27d19ea490

Frequently asked questions

npx skillmds add pranavnagrecha/callout-and-dml-transaction-boundaries