Debugging · Dynamics CRM 2011 · Plugin

CRM 2011: Changing Execution Order Causes Duplicate Plugin Step When Updating Managed Solution

I came across this issue yesterday when debugging the test environment for my current project.

I decided to tidy up the execution order for the many plugins we have written on each entity. I then exported the managed solution from dev environment and updated the test environment.

I found out that in test environment there are duplicate steps for the same plugin/entity/message with different execution order.

I think that because the step id is different on both environments, crm figured out the plugin step signature from the configuration including the execution order. Since the execution order is different, this causes the issue.

Cheers – Sy


Leave a Reply

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

You are commenting using your 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