ADM-201 · Question #22
Under which three conditions should a validation rule be used to prevent invalid data? Choose 3 answers
The correct answer is A. When records are submitted using web-to-lead. C. When records are edited and saved by a user. D. When records are imported. Validation rules are utilized to prevent the saving of invalid data during various record creation and update processes within Salesforce.
Question
Under which three conditions should a validation rule be used to prevent invalid data? Choose 3 answers
Options
- AWhen records are submitted using web-to-lead.
- BWhen records are deleted by a user.
- CWhen records are edited and saved by a user.
- DWhen records are imported.
- EWhen records are updated by a workflow rule
How the community answered
(36 responses)- A92% (33)
- B6% (2)
- E3% (1)
Why each option
Validation rules are utilized to prevent the saving of invalid data during various record creation and update processes within Salesforce.
Validation rules are active when records are created via Web-to-Lead, ensuring that incoming lead data meets required standards before being saved.
Validation rules are designed to prevent the creation or update of invalid data, not to prevent records from being deleted.
Validation rules trigger when a user manually edits and attempts to save a record, preventing the user from inputting or saving invalid data.
Validation rules run during data import processes, ensuring that all imported records adhere to the defined data quality standards.
Workflow rules execute after validation rules in the order of execution, and their automated updates are generally not prevented by validation rules unless specifically re-evaluated by other mechanisms.
Concept tested: Salesforce validation rule execution context
Source: https://help.salesforce.com/s/articleView?id=sf.validation_rules.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.