Pre-operation: pipeline for plug-ins that are to execute before the main system operation.
Post-operation:
pipeline for plug-ins which are to execute after the main operation.:
For Example: Pre-Operation
Suppose we have a Business Requirement that Reports in CRM should not be deleted after they are sent.
So We will write a Plugin to be registered on
Pre-Operation
and check for the Send Date Time if it is a Sent Report we will throw an Exception with a message that unable to delete this report.
So our plugin executes before the main Operation
to prevent the delete.
For Example: Post-Operation
Suppose we have some entities like
Account
that we want to
Synchronize
with some External System. The we will write a Plug-in to be registered on
Post-Operation
and Send some notification/Data to the external System that we want to
Sync
No comments:
Post a Comment