Uncommitted work error is thrown when we "clone with related" Opportunity with external data lookup field when using Salesforce Connect—Custom Adapter
Not fixed yet. Salesforce is reviewing it.
Summary
"Clone with Related" out of box action throws error - "EXTERNAL_OBJECT_EXCEPTION: You have uncommitted work pending. Please commit or rollback before calling out : ()" if there is an external lookup field on page layout (when using External Data Source for Salesforce Connect—Custom Adapter).
Records will be created however error is thrown on UI if the Object being cloned(Opportunity) has any DML in its triggers.
Records will be created however error is thrown on UI if the Object being cloned(Opportunity) has any DML in its triggers.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as In Review with 1 report
Nov 30, 2026
Also open in Compute Services
Static resources, documents, attachments failed to load or return 404 Not Found
Solution ScheduledPlatform / Compute ServicesSpring '20Reported Apr 24, 2020210 reports210reports
Salesforce Lightning Inspector add-on does not work when enhanced domains are enabled.
Solution ScheduledPlatform / Compute ServicesSummer '22Reported Aug 10, 202279 reports79reports
JSON.serialize Exception on Messaging.SendEmailResult Object Due to Ignoring Bean Info
In ReviewPlatform / Compute ServicesWinter '20Reported Dec 3, 201943 reports43reports
System.enqueuejob is consuming high CPU when called inside a Apex Trigger
In ReviewPlatform / Compute ServicesWinter '20Reported Nov 19, 201929 reports29reports