CRM Crate

Plugin execution pipeline in Microsoft Dynamics CRM

We will learn about the plugin execution pipeline in Microsoft Dynamics 365 CRM. Before we start, click here to understand the detailed concept of plugins in Microsoft CRM.

What is Plugin Event Execution Pipeline?

In Microsoft CRM, every performed action denotes an event. These actions performed in CRM are handled by Organization Web Service, which is essential part of Dynamics server. The out-of-the-box plugin event execution pipeline allows you to configure the logic in the event the plugin code will execute.

The Dynamics CRM event processing sub-system executes plugins based on a message pipeline execution model. The message or action constitutes of business entity information and core operation information, the message is passed through the event execution pipeline to execute the logical operation which resides in the particular plugin.

Fix broken plugin content on the Web with NoPlugin - Stumpblog

Event Pipeline Stages

Event Name Stage Name Stage Number Description
Pre-Event Pre-validation 10 Here the plugins get execute before the main system operation. Plugins registered in this stage may execute outside the database transaction.
Security Note :-  The Pre-validation stage occurs prior to security checks being performed to verify the calling or logged on user has the correct permissions to perform the intended operation.
Pre-Event Pre-operation 20 Here the plugins get execute before the main system operation. Plugins registered in this stage are executed within the database transaction.
Platform Core Operation MainOperation 30 No custom plug-ins can be registered in this stage. It is for internal use only which is managed by Microsoft.
Post-Event Post-operation 40 Here the plugins get execute after the main operation. Plugins registered in this stage are executed within the database transaction.

Thus, we learned the detailed structure of plugin event execution pipeline.

CRM Crate

All In One Platform For Learning Microsoft CRM.

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
5 1 vote
Article Rating
Subscribe
Notify of
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
How to retrieve multiple records in plugin using Query Expression - CRM Crate
1 year ago

[…] Execution pipelines within Plugins […]

Understanding plugin images in Microsoft Dynamics CRM - CRM Crate
1 year ago

[…] Execution Pipeline of a plugin. […]

Read, update, create and delete record using plugins - CRM Crate
1 year ago

[…] Event execution pipeline in plugin […]

error: CRM Crate Security Engine - Disabled Right Click & Selection!

Congratulations!

Well Done,
Welcome to CRM Crate

Stay tuned with us and get all latest updates and learning in Microsoft CRM and related techonologes.

Practise EXams

Free!!

Sharpen your skills with our free practise exams.