Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

ExecuteMultipleRequest in an Action

Posted on by

I plan on calling a custom Action via JavaScript that will use the execute multiple request to create and update records.  If I enable rollback for the Action, will it fail all requests that were in the execute multiple requests (is it all considered 1 transaction?)?  Also need to consider paging here if I page through records to create and send more than 1 execute multiple request.

*This post is locked for comments

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: ExecuteMultipleRequest in an Action

    Most likely, it will run in the same transaction (never used ExecuteMultiple in the custom action myself, though):

    https://msdn.microsoft.com/en-us/library/jj863631.aspx

    If a plug-in executes within a database transaction, the plug-in executes ExecuteMultipleRequest, and a transaction rollback is initiated, the rollback includes any data changes resulting from requests executed by ExecuteMultipleRequest.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans