Plugin and RealTime Workflow, which executes first.

Hi,

Today when I was working with Real-time workflows, got a doubt that which will be executed first where a plugin and workflow are registered on the same event.

Went ahead and came to know that Plugins are executed first and then the workflows.

Here is what I did for knowing this.

Created a Single line of text field on the Account entity.

  1. Created a plugin and registered it on the Post Create event of Account and written code to update it with “Plugin” text.
  2. Created a RealTime workflow and added a step to update the new field with “RealTimeWorkflow”.
  3. Created a .csv file which has some accounts and imported it to CRM.
  4. Opened Advanced Find and checked the details. Found that the field is updated with RealTimeWorkflow value which confirms that workflow is the one that is executed after the plugin.
 

Hope this helps.


Happy CRM’ing
Gopinath.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s