Salesforce Platform Developer I (legacy) — Question 281
A developer created a trigger on a custom object. This custom object also has some dependent pick lists.
According to the order of execution rules, which step happens first?
Answer options
- A. System validation is run for maximum field lengths.
- B. The original record is loaded from the database.
- C. Old values are overwritten with the new record values.
- D. JavaScript validation is run in the browser.
Correct answer: B
Explanation
The correct answer is B, as the original record is loaded from the database before any other operations take place. Option A occurs after the record is loaded, while C and D occur later in the execution process, making them incorrect in the context of what happens first.