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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugins

(0) ShareShare
ReportReport
Posted on by 5,514

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

I have the same question (0)
  • Abhishek Gupta Profile Picture
    2,003 on at

    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

  • sandeepc Profile Picture
    5,514 on at

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

  • Abhishek Gupta Profile Picture
    2,003 on at

    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

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

    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

  • Kalpavruksh D365 CoE Profile Picture
    2,545 on at

    Above answer is correct.

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

  • sandeepc Profile Picture
    5,514 on at

    Exactly what I was looking for

    Perfect

  • Suggested answer
    Amit007 Profile Picture
    147 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans