Microsoft Dynamics CRM 2013 Custom Action – A Single Implementation Point

Sunday, March 16, 2014

Microsoft Dynamics CRM 2013 introduced a new member in the Processes family: Custom Actions. I see great potential in this new feature, especially as it can be easily executed (synchronously or a-synchronously) from client side code and return results. While Synchronous Workflow can also be executed from client side code, it can’t return results in an elegant manner. This Custom Action capability enables both server side and client side to share a single implementation point. Here is an example: Lets say that whenever a Contact record is created, the government id number must be validated (9 digits that...

Debugging Workflow Custom Activities with Plugin Registration Tool

Friday, March 8, 2013

I have been using the Plugin Registration Tool to debug Plugins for sometime now and it has turned out to be a real time saver as it let’s you run and debug your code without having to trigger application events. This shortens debug cycles and allows Plugins debugging by multiple developers simultaneously without halting the W3WP process. I have just found out the Plugin Registration Tool can also help debug Custom Workflow Activities as well. Since this feature is currently not documented in the SDK or any other official literature, this post will guide you through. ...

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

Wednesday, 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...