Scenario where we used Synchronous and Asynchronous Plugin RRS feed

  • Question

  • Hi All,

    I want to know what is the basic difference between Synchronous and ASynchronous Plugin,

    In which Type of Scenario we used.

    Can some one explain me.



    Friday, March 3, 2017 11:01 AM

All replies

  • Main reasons to use a synchronous plugin:

    • Any pre-events (have to be synchronous)
    • If it makes data changes that the user needs to see immediately
    • Post-events that modify the response to the user (more commonly used for plugins on the Retrieve messages)

    Main reasons to use an asynchronous plugin:

    • If the processing may take a noticeable amount of time
    • If there's a risk of locking issues
    • If the plugin makes metadata changes

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, March 3, 2017 3:44 PM