Salesforce Certified Platform App Builder — Question 6
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 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 save and the Industry field will change to Technology.
- B. The record will not save and no error message will be displayed.
- C. The record will not save the validation rule's error message will be displayed.
- D. The record will save but the Industry field will not change to Territory.
Correct answer: A
Explanation
The correct answer is A because the workflow rule triggers after the validation rules, allowing the field to be updated to Technology. The other options are incorrect as they suggest the record won't save or the field won't change, which is not the case due to the order of execution in Salesforce.