web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Understanding plugin transactions

(0) ShareShare
ReportReport
Posted on by 8
Hello,
I'd like to understand how transaction are being committed when using plugins.
I understand there are 4 main operations -
  1.  Pre Validation - outside transaction
  2.  Pre Operation - inside transaction
  3.  Post Operation (sync) - inside transaction
  4.  Post Operation (async) - outside transaction
But what will happen in the following scenario : 
  • Entity A has a step registered in Post Operation (sync) that updates Entity B.
  • Entity B has a step registered in Post Operation (async)
As I understand these two steps will be executed in the same transaction, even though Entity B's step is registered as async. 
Does that mean that if an error occurs in Entity B's async step the entire transaction is rolled back? including changes made by Entity A's sync step?
 
Also, what if Entity B has a Pre Validation step as well? Will it be skipped when triggered by Entity A's sync step? 
 
Thank you.
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 158 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 57 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans