Pogo69's Blog

March 31, 2011

CRM 4.0 Custom Workflow Activity to Add Hours/Minutes to a DateTime attribute

Filed under: Cutting Code — pogo69 [Pat Janes] @ 08:36

There is a very handy suite of Custom Workflow Activities made freely available on CodePlex called the CRM Workflow Manipulation Library.

It allows, among other things, a User to add whole days or business days to a DateTime attribute.  The new date can then be subsequently used to update an entity instance or similar.  Unfortunately, it does not allow the addition of Hours/Minutes to the DateTime attribute.  So, I wrote a Custom Workflow Activity that does; in the interests of sharing the love, I’m making it freely available also:

http://www.mediafire.com/?f7294aoe7aqde

The download includes the source code, and both Debug and Release builds; enjoy!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Create a free website or blog at WordPress.com.

%d bloggers like this: