+ Start a Discussion

Workflow Order of execution - Field Update vs Email

Just trying to be 100% sure in this case...I'm firing a workflow so when a checkbox is checked, a date field is updated and an email is send.
Regarding the order of the actions, I assume the field update will occur first, and then the email will be sent (I did some tests) - but is it correct in 100%?? If not, is there a way to do so? (I'm trying to avoid user receiving an email with Date before updating...)




Hi Itayb34,


The order of execution of workflow items is not gaurenteed.


If you want to be sure this field is always updated you will need to do it through APEX Trigger.


Feel free to reach out to me if you need help with this.





I assume i can solve this with 2 workflows...

workflow 1 - when checkbox is True, update field and "Re-evaluate Workflow Rules after Field Change"

workflow 2 - when field not equals null, send email