Dynamics CRM 2011

Dynamics CRM 2011 – Workflow – Use Timeout instead of Wait Until

Last week I had to create a workflow that will mark an event (campaign) when it has passed.

The first thing that come to my mind is that I should make my conditional statement look like this:

Wait until Event:EndDate is less than or equal to Process:ExecutionTime

On test run, this workflow was still waiting after 30 mins has passed from Event.PropsedEndDate.

The better solution for this is using Timeout. Simply make the conditional statement:

Timeout until Event:EndDate

On test run, this workflow re-activates itself on Event:EndDate first time, every time.

Cheers – Sy

Advertisements

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