3

How can a workflow be told to wait until a specific date, or date field?
It works with timeout equals date, but I would much rather use wait until process time is on or after date.

When I try this the workflow is postponed until our distant ancestors have died of old age; it is the same if I put in a date field instead of a specific date (which is the end goal):
enter image description here

Bvrce
  • 2,170
  • 2
  • 27
  • 45

2 Answers2

5

You want to consider what is considered a "timeout" for the desired behavior. The following links provide some more context.

Also, unless you have a really specific use case for using a specific date (like year end deadlines or processing) -- you'll probably want to use a datetime field on an entity as the basis for the right side of the comparison. You can always use the dialog on the right to choose a fixed date/time before or after any of the entity datetime fields.

Detail screen for Timeout wait condition.

http://social.technet.microsoft.com/wiki/contents/articles/11291.microsoft-dynamics-crm-2011-workflows-wait-and-timeout.aspx

http://www.powerobjects.com/blog/2012/11/06/multiple-waiting-workflows-wait-conditions-and-timeouts/

http://www.dynamicscrmtrickbag.com/2009/07/12/waits-timeouts/

Jason Koopmans
  • 611
  • 6
  • 19
0

Yes, it will use the current value of the field each time the workflow is checked.

Related: CRM2011 Workflow: What happens if the field which is used in the condition of the workflow is updated after the workflow has started?

Community
  • 1
  • 1
James Wood
  • 17,286
  • 4
  • 46
  • 89
  • That is what I understand should happen, but look at the postpone until: 12/31/9999 1:59 AM That date is not helpful. – Bvrce Mar 30 '13 at 08:16
  • You mean next to `Start Reason`? Does it actually wait till that date? (I would be suprised if it did). That looks like `DateTime.Max` and is probably used to signify a particular workflow state. – James Wood Mar 31 '13 at 21:25