Order of Operations

There are occasions when you need to be aware of the order of operations of the execution of rules.

The most sensitive of these operations is the use of the mail action to send an email template within the preupdate directive. If your preupdate directive also contains rules that modifies some of the values that are used within the template, then the modified values are used, irrespective of the order of the rules. This is because the email notification is handled as a background process, and all updates to the record are completed before the notification task sends the mail.