locked
plugin fires two times RRS feed

  • Question

  • I created a custom plugin and registerd this in crm online. The plugins triggers the update event of a quote product.

    When I update a quote product, the plugin is triggered and do it all okay. But the plugin is executed two times. Unless I check the depth property in code. When I trace the depth it is unchanged. Also I do no updates of the record in the code.

    The only difference I remark is that the owner of the plugin is first the user, the second time it is the "SYSTEM".

    Many thanks in advance!

    Thursday, January 13, 2011 11:03 PM

Answers

  • Hi Pol,

    Check the following link,

    http://blogs.msdn.com/b/crm/archive/2010/06/25/plug-ins-vs-workflows-in-microsoft-dynamics-crm.aspx

    http://social.microsoft.com/Forums/en/crmdevelopment/thread/ff2ec98e-b0b2-47ac-bf7f-5f7a0884e275

    Regards,

    • Marked as answer by Pol V Sunday, January 16, 2011 4:07 PM
    Saturday, January 15, 2011 6:18 AM