Validation Rules and Roll-Up Summary Fields

Published in Not-So-Secret Diary

Maybe you all know it but it took me by surprise. I know order of execution but realized it some times ago. Validation Rules run before Roll-Up fields calculation. If you use roll-up summary fields in the validation rules then be ready - it can work incorrectly. Validation rules will be executed with updated data only next time when someone update the record. Be careful when using roll-up summary fields in the validation rules.

Useful links:

Comments powered by CComment