Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugins

(0) ShareShare
ReportReport
Posted on by 5,461

In MSCRM

Pre-validation is synchronous plugin or asulynvhronous plugin

Pre-opearation is synchronous or asynchronous

Post -operation is synchronous or asynchronous

*This post is locked for comments

  • Suggested answer
    Amit007 Profile Picture
    147 on at
    RE: Plugins

    Hi Sandeep,

    Follow this link for more details which will give you good idea about plugins:

    crmbook.powerobjects.com/.../when-to-use-plug-ins
    crmbook.powerobjects.com/.../event-pipeline

    If found useful, please mark the answer as verified

  • sandeepc Profile Picture
    5,461 on at
    RE: Plugins

    Exactly what I was looking for

    Perfect

  • Kalpavruksh D365 CoE Profile Picture
    2,545 on at
    RE: Plugins

    Above answer is correct.

    Please feel free to engage, if you face any issue.

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Plugins

    Hi ,

    Only post-operation plugin can be both synchronous and asynchronous .Have a look below screenshot.

    2019_2D00_05_2D00_05_5F00_11_2D00_56_2D00_09.png

    You can not make pre-validation and pre-operation plugin  as asynchronous. Have a look below screenshot.

    2019_2D00_05_2D00_05_5F00_11_2D00_56_2D00_09.png

    4152.2019_2D00_05_2D00_05_5F00_11_2D00_55_2D00_07.png

  • Abhishek Gupta Profile Picture
    2,003 on at
    RE: Plugins

    he might confusing you. I just finished a plugin where i am sending an emails to Business users post operation of plugin in Async mode.

    So its make one of scenario where we can use async mode in post operation stage.

    Thank you

    Abhishek

    If found useful, please mark the answer as verified

  • sandeepc Profile Picture
    5,461 on at
    RE: Plugins

    Ya but still I was asked in interview that post operation always runs in synchronous

  • Abhishek Gupta Profile Picture
    2,003 on at
    RE: Plugins

    In MS CRM, Pre-validation, Pre-opration and post-operation are a stages on which you can run plugin. Difference between pre-validation and pre-operation is Database transactions. Pre-validation stage runs out of a database transaction. Synchronous and asynchronous are the modes in which you can run your plugin.

    Thank you

    Abhishek

    If found useful, please mark the answer as verified

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans