If a new validation rule is created and there is data already stored that violates the rule, when will Sales force catch the problem?
Click on the arrows to vote for the correct answer
A. B. C. D. E.D.
When the record is edited, then saved.
Validation rules are enforced when a record is in edit mode, but the validation rules don't fire until the record is finally saved by the end user.
When a new validation rule is created and there is data already stored that violates the rule, Salesforce will catch the problem in the following scenarios:
A. Immediately: If the validation rule is set to "Active" upon creation, Salesforce will evaluate the rule against all existing records that meet the rule's criteria. If any of these records violate the rule, Salesforce will display an error message immediately.
B. When the record is first viewed: If the validation rule is set to "Active" and a user tries to view a record that violates the rule, Salesforce will display an error message. This will occur even if the user is not attempting to edit the record.
C. When the record is edited: If the validation rule is set to "Active" and a user attempts to edit a record that violates the rule, Salesforce will display an error message when the user tries to save the changes.
D. When the record is edited, then saved: Similar to option C, if the validation rule is set to "Active" and a user attempts to edit a record that violates the rule, Salesforce will display an error message when the user tries to save the changes.
E. The record is not affected because it was created before the creation of the validation rule: This option is not correct. If a record violates a validation rule, it will always be affected by the rule regardless of when the rule was created.
Therefore, the correct answers are A, B, C, and D.