Salesforce Certified Platform Developer II — Question 89
A customer requires that when the billing address field on an Account gets updated, the address field on all its related contact records should reflect the same update.
How can this requirement be met with minimal customizations?
Answer options
- A. Create an After Trigger on Account to update its related contact records on update
- B. Create a Workflow Rule on Account to update related child Contact records
- C. Create a Lightning Process on Account to update related child Contact records
- D. Create a scheduled batch job that updates all contact address fields based on the related account record
Correct answer: C
Explanation
The correct answer is C, as a Lightning Process allows for straightforward automation of updates across related records with minimal coding. Option A, while functional, involves more complex coding with an After Trigger. Option B is not suitable because Workflow Rules cannot update child records directly. Option D is inefficient as it relies on scheduled jobs rather than real-time updates.