BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform App Builder Topic 3 Question 101 Discussion

Actual exam question for Salesforce's Platform App Builder exam
Question #: 101
Topic #: 3
[All Platform App Builder Questions]

The Universal Containers data manager has been complaining about the

lack of data integrity on Contact records.

Sales reps have not been filling out the Region field. The data manager wants the

Region field filled out only for Contacts that are associated to Accounts that have been

marked as 'High Priority' on the Customer Status field.

What can the app builder do to fulfill this requirement?

Show Suggested Answer Hide Answer
Suggested Answer: B

To ensure data integrity where the Region field on the Contact object needs to be filled out conditionally based on the parent Account's status, a validation rule on the Contact is the most effective method:

B . Create a validation rule on Contact. This rule can enforce that the Region field must be filled out for Contacts related to Accounts marked as 'High Priority'.

Steps to create this validation rule:

Navigate to Setup Object Manager Contact Validation Rules.

Create a new validation rule.

In the formula, use:

AND(

ISPICKVAL(Account.Customer_Status__c, 'High Priority'),

ISBLANK(Region__c)

) )

Provide an error message to display when the rule is violated.

Save and activate the rule.

This validation rule checks that if a Contact is associated with an Account marked 'High Priority', the Region field cannot be blank.

For further detail, Salesforce's Validation Rule Considerations provides additional guidance.


Contribute your Thoughts:

Cecily
1 months ago
But wouldn't creating a validation rule on Account be more efficient?
upvoted 0 times
...
Raymon
2 months ago
I disagree, I believe option B is more appropriate.
upvoted 0 times
...
Cecily
2 months ago
I think option A is the best choice.
upvoted 0 times
...
Lavonda
2 months ago
C) Create 4 validation rule on Account. Why stop at one when you can have four? *winks* But seriously, this option seems a bit overkill for the requirement.
upvoted 0 times
Emmanuel
16 days ago
D) Make the Customer Status field required on Account.
upvoted 0 times
...
Jerrod
22 days ago
B) Create a validation rule on Contact.
upvoted 0 times
...
Billi
23 days ago
A) Make the Region field required on Contact.
upvoted 0 times
...
...
Aileen
2 months ago
A) Make the Region field required on Contact. That'll teach those pesky sales reps to fill out their forms properly! *chuckles*
upvoted 0 times
...
Salena
2 months ago
D) Make the Customer Status field required or Account. This way, we ensure that the Account is marked as 'High Priority' before the Contact Region field can be filled out.
upvoted 0 times
Laila
17 days ago
A) Make the Region field required on Contact.
upvoted 0 times
...
Joseph
25 days ago
D) Make the Customer Status field required on Account.
upvoted 0 times
...
Edda
1 months ago
B) Create a validation rule on Contact.
upvoted 0 times
...
France
1 months ago
A) Make the Region field required on Contact.
upvoted 0 times
...
...
Gerald
2 months ago
B) Create a validation rule on Contact. This makes the most sense to me. We don't want to make the Region field required on all Contacts, just the ones associated with 'High Priority' Accounts.
upvoted 0 times
Brent
2 months ago
Yeah, that way we can ensure the Region field is only required for specific Contacts.
upvoted 0 times
...
Van
2 months ago
I agree, creating a validation rule on Contact seems like the best solution.
upvoted 0 times
...
...

Save Cancel