Search This Blog

Tuesday, April 15, 2014

New XrmToolBox plugin : Synchronous events execution order editor

Last week, I receive a request from Rob Boyers that was asking for a tool that can help him to order execution order of synchronous events, plugin steps and workflows.

Indeed, in Dynamics CRM 2013, you can set the “rank” property of a plugin step to define its execution order among other steps in the same message and stage, using the PluginRegistrationTool. Unfortunately, there is no such way to edit the “rank” property of a synchronous workflow in a UI.

So, here is the “Synchronous events execution order editor”, a new XrmToolBox plugin


It works only with CRM 2013 and loads all synchronous plugin steps and workflows and group them by Entity, Message and Stage. When selecting a stage, you can see all events registered and you can update the rank value.

Then, just click on the button “Apply update(s)” to update events on the organization. Just a note: for synchronous workflows that are activated, they will be deactivated, updated then activated back.

As usual, the XrmToolBox and its plugins are available on CodePlex