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 3 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 3
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 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 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ArturoDlr18
Highly Voted 3 years, 10 months ago
I´ve created this scenario and the answer is A. The record change the value but no error message is shown. And as already mention, workflow rules do not respect validation rules
upvoted 29 times
...
SumiR
Highly Voted 3 years, 12 months ago
Answer:A
upvoted 14 times
...
Debugs_Bunny
Most Recent 1 month, 1 week ago
Selected Answer: C
I tried and got the following error. So C. Review the errors on this page. We can't save this record because the “Update Industry to Tech” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to update records: FIELD_CUSTOM_VALIDATION_EXCEPTION: The length of industry should be less than 6 characters.. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 259102387-31474 (-1265138106)ok up ExceptionCode values in the SOAP API Developer Guide. Error ID: 259102387-31474 (-1265138106)
upvoted 1 times
Debugs_Bunny
12 months ago
Changing my answer to A since it's a workflow rule. The above error was a result of Flow.
upvoted 2 times
...
...
MJ453
1 year ago
The Answer is "A" Here is why.... while it is true that salesforce executes operations through the order of execution , in which validation rules are evaluated before workflow rules, but in this scenario changes made by a workflow rule or process (including field updates) are typically not re-evaluated by validation rules in the same transaction. This means that if a workflow rule or process updates a field, it may not trigger the validation rule associated with that field, even though, technically, validation rules come before workflow rules in the order of execution. for this reason the field will be updated an there will not be an error message, but the validation will fire if you manually try to update the record that has been updated before by the workflow rule because they are designed to run every time a record is saved.
upvoted 2 times
...
deedeed
1 year, 4 months ago
The answer is A. Please notice it is "workflow" rule, not record-triggered flow. custom validation rule runs before workflow rule, and after run the workflow, according to the documentation, Runs system validations again. Custom validation rules, flows, duplicate rules, processes, and escalation rules aren’t run again.
upvoted 2 times
...
bassolini
1 year, 7 months ago
Selected Answer: A
Created the same scenario in a hands-on org and validate that the Industry will change to Tecnology independent of the validation rule.
upvoted 1 times
...
nr007s
1 year, 7 months ago
The answer is C. Look at the last sentence of the question. "What will happen the next time a salesperson saves an Account with a Billing City of San Francisco?" If the workflow rule invalidates the data then the next time user won't be able to save the record with the wrong data.
upvoted 3 times
...
kundan911232
1 year, 8 months ago
Selected Answer: A
A is correct.
upvoted 1 times
...
sisirdayal
2 years ago
Selected Answer: A
As per the Order of Execution, A is the right answer
upvoted 2 times
...
hujiafan
2 years, 2 months ago
Selected Answer: A
I think it should be A
upvoted 2 times
...
VinSalesforce
2 years, 2 months ago
Custom validation rules, flows, duplicate rules, processes, and escalation rules aren’t run again when workflows update a field. So answer is A.
upvoted 2 times
...
DonDemik
2 years, 2 months ago
Workflow rule is executed after validation rule. Select A.
upvoted 1 times
...
thamizhanda
2 years, 3 months ago
the correct answer is A, here is the order of execution from Salesforce documentation.
upvoted 1 times
...
thamizhanda
2 years, 3 months ago
The correct answer is C, tried and tested.
upvoted 2 times
thamizhanda
2 years, 3 months ago
my bad, the correct answer is A, here is the order of execution from Salesforce documentation.
upvoted 1 times
...
...
Srk0020
2 years, 9 months ago
Selected Answer: A
Answer is A
upvoted 2 times
...
wka520
2 years, 9 months ago
1.Validation rules 2.Assignment rules 3.Auto-response rules 4.Workflow rules (with immediate actions) 5.Escalation rules
upvoted 2 times
...
long_one
2 years, 10 months ago
A is the answer. Tested.
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 ...