Salesforce Certified Platform App Builder — Question 469
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?
Answer options
- 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.
Correct answer: C
Explanation
The workflow rule will trigger because the billing city is set to San Francisco, causing the industry field to update to technology. Since 'technology' is only 10 characters long, it violates the validation rule, yet the record saves successfully because the update occurs before the validation check, making C the correct answer. Options A, B, and D are incorrect as they do not accurately represent the sequence of events and outcomes.