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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 197 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans