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

January 30, 2013

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

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

5 comments

  1. CreigApril 24, 2013 ב 12:16 PM

    Great stuff – waiting for the RU12 version, any plans when that might be ready?

    Reply
  2. PeterJuly 10, 2013 ב 12:32 PM

    Would love to see the new version of the ABPP – do you have a timeframe?

    Reply
  3. rdt
    rdtJuly 5, 2015 ב 6:59 PM

    Creig, Peter,

    I do apologize for the delay.
    I will publish a version compatible with 2015 in a few weeks.

    Reply
  4. Pingback: Asynchronous Batch Process Solution Revisited – part 1 | Yaniv Arditi

  5. Pingback: Asynchronous Batch Process Solution Revisited – part 1 | YanivRDT