SALESFORCE-CERTIFIED-ADMINISTRATOR practice question 12 of 30

Once an opportunity reaches the negotiation stage at cloud kicks, The Amount fields becomes required for sales users. Sales managers need to be able to move opportunities inti this stage without knowing the amount. How should the administrator require this field during the negotiation stage for sales users but allow their managers to make changes?

Full set: 248 questions

Domain Workflow/Process Automation

Answer options
A: Make the field required for all users.
B: Create to formula field to fill in the field for managers.
C: Assign the administrator profile to the managers.
D: Configure a validation rule to meet the criteria. Correct answer
Correct Answer:
D. Configure a validation rule to meet the criteria.
Explanation

A validation rule is the standard declarative tool for enforcing conditional data integrity. It allows an administrator to define a formula that evaluates data before a record is saved. In this scenario, the validation rule can be configured to check if the StageName is 'Negotiation', the Amount is blank, and the user's profile is that of a 'Sales User'. This combination ensures the rule is enforced only for the specified users at the correct stage, while allowing sales managers (who have a different profile) to be exempt from the requirement.

Why Incorrect

A. Make the field required for all users. This fails to meet the conditional requirement based on the opportunity stage and does not provide the necessary exception for sales managers.
B. Create a formula field to fill in the field for managers. A formula field calculates a read-only value based on other fields; it cannot be used to populate the standard Amount field or bypass a validation.
C. Assign the administrator profile to the managers. This is a significant security risk that violates the principle of least privilege. Granting full administrative permissions to bypass a single rule is incorrect and dangerous.

References

1. Salesforce Help Documentation, "Validation Rules": "Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record... For example, you can have a validation rule that ensures all account records have a specific format for account numbers..." This document establishes validation rules as the primary tool for enforcing data standards.

2. Salesforce Help Documentation, "Validation Rule Formula Examples": This page provides an example titled "Profile-Specific Field Validation," which demonstrates how to make a rule apply only to certain profiles. The sample formula is AND(ISCHANGED(field), $Profile.Name "Profile Name"). This directly supports using $Profile.Name in a formula to create an exception for sales managers.

3. Trailhead, Salesforce Platform Basics, "Data Modeling" Module, "Customize a Page Layout" Unit: This unit explains that making a field universally required can be done on the page layout or in the field's setup. However, it implicitly positions validation rules as the solution for conditional requirements, which are more complex than universal requirements.

4. Trailhead, Formulas & Validations, "Create Validation Rules" Unit: This unit states, "Validation rules are a great way to enforce conditional business logic." It provides examples of creating rules based on the values of other fields, which is the core of the requirement in the question (i.e., the StageName field's value).

Scroll to Top