Notifications
Announcements
No record found.
when plugin will failed what happen in the prevalidation and preoperation and post operation in ms crm
*This post is locked for comments
thank you.
Hello,
When we use InvalidPluginExecutionException it rollbacks any additional code executed on Pre-operation and Post-operation irrespective of it being Synchronous or Asynchronous, but Pre-validation operation allows processing the actions written, before throwing invalid plugin exception.
Abed.
Hi,
Pre-Operation and Post-Operation runs under database transaction so failure of either of them will cause the whole operation to rollback.
However pre-validation runs outside database transaction so whatever operation you do, pre-validation will persist even if the plugin fails.
Thanks,
PS
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2