Asynchronous Batch Process Pattern – Leveraging December 2012 Service Update (Polaris) Features

December 2012 Service Update features two new interesting capabilities:

  • Custom Activities support for Microsoft Dynamics CRM Online
  • Executing multiple requests with the ExecuteMultipleRequest class  

These capabilities allow important improvements to the Asynchronous Batch Process Pattern solution described here.

So what’s new?

The lack of Custom Activities support in Online deployment required the usage of a Plugin component to perform the Target Records query and implementing the Action Workflow to each result record.  
With December 2012 Service Update Custom Activities support for Microsoft Dynamics CRM Online, a Custom Activity can now replace the Plugin component. This implementation renders the Asynchronous Batch Process Pattern solution simple and robust. 

The new ExecuteMultipleRequest class allows sending a bulk of requests to the Organization service in one request, instead of a stream of separate requests. This feature is now used in the Asynchronous Batch Process Pattern solution In order to apply the Action Workflow Rule to multiple Target Records in a single request and to improve the solution’s performance. 

I will make the new and improved solution available for download soon.

 

Process algorithm

Advertisements

4 thoughts on “Asynchronous Batch Process Pattern – Leveraging December 2012 Service Update (Polaris) Features

  1. Pingback: Microsoft Dynamics CRM 2011 Update Rollup 12 (Polaris) « Roman's Blog

    • Thank you for the remark. I can see how this is confusing.
      The component setting the Status to Active is the Scheduling Workflow, while the Executing component tests the Status and execute only if it equals to Active. I should change the diagram to explain the differene between the components more clearly.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s