CRT-211 practice question 25 of 30
The support operations team has noticed some Invalid data In the custom Primary issue picklist field on case records. They are unsure of what the issue is since the field is being updated by an automated procedure and there Is a validation rule to ensure clean data on case records. Why arc records being updated with data that violates the validation rule?
Full set: 222 questionsSalesforce's order of execution specifies that validation rules run before workflow rules. A field update performed by a workflow rule occurs after the initial validation rules have already been checked and passed. Consequently, a workflow rule can update a field with a value that would normally be blocked by a validation rule, effectively bypassing it. This is a known behavior and a common reason for finding data that violates validation criteria when workflow rules are in use.
A. Record-triggered flows and "Update Records" elements in flows execute within the standard transaction order and are subject to validation rules.
C. Apex before triggers run before validation rules, but the validation rules still run afterward and would catch the invalid data before the record is saved.
D. The "Modify All Data" permission allows a user to bypass sharing rules and field-level security, but it does not allow them to bypass validation rules.
1. Salesforce. (2023). Triggers and Order of Execution. "Step 8: Executes workflow rules. If there are workflow field updates, updates the record again. Step 9: If the record was updated with workflow field updates, fires before and after triggers one more time (and only one more time), and standard validation rules are not run again."
2. Salesforce Help. (2023). Create a Validation Rule. "Validation rules are not enforced on records updated by workflow rules and scheduled actions."
Keep practicing
Take the free CRT-211 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CRT-211 practice questions
- Question 1At Cloud Kicks, the Sales team uses a specific dashboard to see how they are doing daily.…
- Question 2The administrator at Universal Containers does a soft launch of the Salesforce Authentica…
- Question 3Sales reps at Ursa Major Solar often give discounts depending on the configuration of the…
- Question 4An administrator needs to create a junction object called Account Region to link the stan…
- Question 5A user accidentally created a duplicate opportunity and is unable to delete the duplicate…
- Question 6Universal Containers' support team wants to use Salesforce Knowledge to allow customers a…
