The share link has been copied to clipboard

You have uncommitted work pending Salesforce Exception

1K views · Oct 9, 2023
Visit Channel:infallibletechie.com
Exception: System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out Callouts are not allowed when there is an uncommitted transaction pending. For example, if a save point is set before a DML operation, a callout cannot be made based on the results of that operation to commit or roll back the save point. You cannot perform a DML operation prior to a callout. All the DML operations should be invoked only after you are done with callouts. So, make a webservice callout first and then save the request. Blog Post: https://www.infallibletechie.com/2023/03/you-have-uncommitted-work-pending-salesforce-exception.html
Show More

Comments

loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text