Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 380 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 380
Topic #: 1
[All Certified Platform App Builder Questions]

An app builder creates an Account validation rule on the Industry field that will throw an error if the length of the field is longer than 6 characters. Another app builder creates a workflow rule with a field update that sets the industry field to technology whenever the billing city field is set to San Francisco.
What will happen the next time a sales person saves an Account with a billing city of San Francisco?

  • A. The record will NOT save and the validation rule's error message will be displayed.
  • B. The record will save but the industry field will NOT change to technology.
  • C. The record will save and the industry field will change to technology.
  • D. The record will NOT save and the error message will NOT be displayed.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vldmr
9 months ago
If a workflow rule updates a record, order of execution: 1. Updates the record again. 2. Runs system validations again. Custom validation rules, flows, duplicate rules, processes, and escalation rules aren’t run again. 3. Executes before update triggers and after update triggers, regardless of the record operation (insert or update), one more time (and only one more time).
upvoted 1 times
...
Debugs_Bunny
12 months ago
Selected Answer: C
Tested with workflow rule, it's C If it's flow, it will throw an error like sfreesway mentioned.
upvoted 1 times
...
sfreesway
1 year, 4 months ago
Selected Answer: A
Its A i tested it in a sandbox and the record will not save and the VD error message will appear
upvoted 1 times
...
Nachof95
3 years, 1 month ago
Answer shouldn't be A? Since Validation Rules runs before and Workflow rules runs after
upvoted 1 times
noox
3 years, 1 month ago
You right, Validation Rules goes BEFORE Workflow rules (with immediate action). 1. So you change the billing city field to San Francisco and click "save". 2. Update transaction begin : 3. No Validation rules get trigger (because the field updated is billing city, not industry). 4. Then the workflow rule kick in and change the Industry field to Technology 5. Update transaction finish. Like you said, Workflow rule comes AFTER validation rule so they can "erase" the work of validation rule ;) Correct answer is C :)
upvoted 9 times
AnjanSaha
2 years, 8 months ago
The answer should be A, because once the workflow rules run, the order of execution runs again. So validation rules run again and it will throw an error. After a workflow update, the validations and triggers run a second time.
upvoted 1 times
nibbio
2 years, 2 months ago
C is correct. There is no reason why the validations and triggers would run a second time.
upvoted 1 times
...
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...