CRM2011 Workflow: what happens if the field used in the workflow is updated after the workflow starts?

Example. Suppose I have a workflow that sends an email 2 days before the warranty expires. This workflow runs in the β€œCreated” object.

step 1: wait condition - process timeout < (warrantyendate - 2) after wait: send email. 

So, when the record is created, the workflow starts. But what happens when the user returns and updates the warranty period.

Does the workflow check for an updated termination guarantee, or is it still using the entered enddate when it was started (i.e. the initial value to create)?

+8
dynamics-crm dynamics-crm-2011
source share
2 answers

I understand that a workflow uses data in the system at runtime.

It is important to note that the workflow can be performed many times, at this time the data in the system can be different. Crm caches workflow status, but not data. The process architecture for Microsoft Dynamics CRM 2011 describes this.

So, every time a process timeout is checked, it will use the current value of warrantyEndDate. If the value is changed, the next time the condition is checked, the new value will be used.

In any case, as @ BenPatterson1 suggests, you are probably best testing to be sure.

+8
source share

Having tried independently, if the value of the field included in the condition changes, the workflow mechanism works from the standby (standby) mode and checks the condition again.

If he satisfies the condition, he proceeds to the next step or will continue to wait.

+4
source share

All Articles