Skip to content

Event Pipeline Stages of Execution in Plugin

  1. PreValidation
    1. PreValidation is performed before any validations occur
    2. This stage occurs before the main system operation and before the database transaction
    3. This stage occurs before any security checks are preformed to verify that the calling or logged-on user has the correct permission to perform the intended operation
    4. The Stage Number for this is 10
    5. This event is processed synchronously 
  2. PreOperation
    1. This stage occurs before the main system operation and within the database transaction
    2. The Stage Number for this is 20
    3. This event is processed synchronously 
  3. MainOperation
    1. Custom plug-ins cannot be registered in this stage. It is for internal use only
    2. The Stage Number for this is 30
  4. PostOperation
    1. This stage occurs after the main system operation and within the database transaction
    2. The Stage Number for this is 40
    3. It will run outside of the database transaction using the asynchronous service
    4. This event is processed synchronously and asynchronously 

If you liked the post, please share it with others 🙂

Please feel free to comment if you are stuck in any step

Thank you for reading 🙂

Published inDynamics CRM