A workflow remains in a waiting state even if the wait conditions are evaluated to be true in Microsoft Dynamics CRM 2011

Applies to: Microsoft Dynamics CRM 2011

Symptoms


When you have a long-running workflow that contains wait conditions in Microsoft Dynamics CRM 2011, the workflow may go into a waiting state, and may have to be resumed.

Cause


This issue occurs if the conditions in the wait condition cannot be evaluated correctly when the entities in the wait condition are changed outside the workflow execution before or at the same time the wait condition was evaluated.

Resolution


To resolve the issue, apply Update Rollup 13 for Microsoft Dynamics CRM 2011 or a later version. For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
2791312 Update Rollup 13 for Microsoft Dynamics CRM 2011 is available
2849744 Update Rollup 14 for Microsoft Dynamics CRM 2011 is available
2843571 Update Rollup 15 for Microsoft Dynamics CRM 2011 is available
After you apply the update rollup, you have to use the OrgDBOrgSettings tool for Microsoft Dynamics CRM 2011. For more information about this tool, click the following article number to view the article in the Microsoft Knowledge Base:
2691237 OrgDBOrgSettings Tool for Microsoft Dynamics CRM 2011
You have to change the ActivateAdditionalRefreshOfWorkflowConditions setting in OrgDBOrgSettings to TRUE.

Note The default value of this setting is FALSE.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.