The When field on the Business Rule form is one of the most important fields when creating a business rule. It controls when the business rule will be run. The options available are described here, along with some use cases:
- Before: One of the most widely employed options when creating a business rule, along with After. It can be used for cases where we want to create server-side controls to override field values, perform checks or validations, and/or abort operation based on a certain condition. The execution of the business rule happens before the database operation is performed, thus it can be used for many different use cases, such as the ones we just mentioned. However, it is not recommended when the execution ...