Friday, September 14, 2018

If multiple plug ins are registered with same execution order for same entity in which order they will get execute?


While registering the plug in we have to provide the execution order if multiple plugins are register for the same entity, what happens when the there are multiple plugins are registered for particular entity and the execution order is 1 for all of them? 

Well this is the information I found with Microsoft documentation of plug in- 


Specifies the order, also known as rank, that plug-ins are executed within a pipeline stage. Plug-ins registered with an order value of 1 are executed first, followed by plug-ins registered with an order of 2, and so on. However, if there is more than one plug-in in a stage with the same order value, then the plug-in with the earliest compilation date is called first.

Reference: 

https://docs.microsoft.com/en-us/previous-versions/dynamics-crm2011/developer-articles/hh237515(v=crm.6)#bkmk_RegStep



No comments:

Post a Comment

QueryExpression vs. FetchXML in MS CRM with C#

Microsoft Dynamics CRM (Customer Relationship Management) is a powerful platform that helps organizations streamline their business processe...