All Ideas

Idea Details

Post an Idea
250  Points
Under Point Threshold
Idea hasn't met the 2,500-point review threshold. Give it an upvote or downvote.

Allow DML Insert Before A Web Service Callout

Integration

Currently Salesforce throws an error if you try to insert a record in the SF database prior to making a web service callout (HTTPRequest) saying "you have uncommitted changes to the database"

We need to create a record before calling various web services so that we have a reference Id to send along with the call.  There are hacks to getting around this limitation ... we've tried many of them ... but really, we just need to have this limitation removed.

Salesforce team - please provide support for DLM inserts prior to a web service callout in a single transaction.


Merge Idea · Flag

Latest Comment from Salesforce

  • Josh Kaplan - 1 year ago

    This can't be supported in the multi-tenant environment, in order to protect the service.
  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.