function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tushar Arora 26Tushar Arora 26 

"In a batch update, workflow is only retriggered on the entities where there is a change." What is meant by this statement ?

I was reading the following document regarding "Field Updates That Re-evaluate Workflow Rules"

https://help.salesforce.com/articleView?id=workflow_field_updates_reevalute_wf.htm&type=0
There is one point mentioned in this document that
"In a batch update, workflow is only retriggered on the entities where there is a change."
So what is meant by this ? Can anyone please give me an example to explain this ? Thanks
NagendraNagendra (Salesforce Developers) 
HI Tushar,

It's just clarification of the non-plural comment.

Salesforce re-evaluates all workflow rules on the object if the field update results in a change to the value of the field.

In the presence of multiple records in the trigger, SF will on trigger workflow reevaluation on those records where a WFR with reevaluation enabled actually triggered a change. 

Records where the WFR evaluated to false will not be reevaluated.
Hope this helps.


Mark this as solved if it's resolved.

Regards,
Nagendra.