ADM-201 · Question #163
An administrator at Northern Trail Outfitters is creating a validation rule. Which two functions should the administrator use when creating a validation rule? Choose 2 answers
The correct answer is A. Error message location B. Error condition formula. When creating a validation rule in Salesforce, an administrator must define the 'Error Condition Formula' which triggers the rule, and specify the 'Error message location' where the error message will appear.
Question
An administrator at Northern Trail Outfitters is creating a validation rule. Which two functions should the administrator use when creating a validation rule? Choose 2 answers
Options
- AError message location
- BError condition formula
- CFormula return type
- DRule active date
How the community answered
(30 responses)- A90% (27)
- C3% (1)
- D7% (2)
Why each option
When creating a validation rule in Salesforce, an administrator must define the 'Error Condition Formula' which triggers the rule, and specify the 'Error message location' where the error message will appear.
The 'Error message location' is a crucial setting in a validation rule, allowing the administrator to specify whether the error message appears at the top of the page or next to a specific field, guiding the user to correct the input.
The 'Error condition formula' is the core of any validation rule, defining the logical expression that must evaluate to TRUE for the validation rule to fire and prevent the record from being saved. This formula ensures data integrity by enforcing specific business rules.
Validation rule formulas inherently return a boolean value (TRUE or FALSE) to determine if the rule is triggered; the administrator does not choose or configure a 'Formula return type' for validation rules.
Validation rules are either active or inactive via a checkbox; there is no 'Rule active date' setting to schedule their activation for a future date.
Concept tested: Validation rule configuration elements
Source: https://help.salesforce.com/s/articleView?id=sf.fields_defining_validation_rules.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.