Salesforce Platform Developer I (legacy) — Question 205
When a user edits the Postal Code on an Account, a custom Account text field named `Timezone` must be updated based on the values in a
PostalCodeToTimezone__c custom object.
How should a developer implement this feature?
Answer options
- A. Build an Account Workflow Rule.
- B. Build an Account Assignment Rule.
- C. Build an Account custom Trigger.
- D. Build an Account Approval Process.
Correct answer: C
Explanation
The correct answer is C, as a custom Trigger allows for real-time updates to the `Timezone` field whenever the Postal Code is modified. Workflow Rules and Assignment Rules are not suitable for this scenario since they do not handle complex logic or direct field updates based on changes to other fields, while an Approval Process is not relevant to this requirement.