PDI · Question #102
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 ogject. Which two automationtools…
The correct answer is B. Fast field Updates record-triggered flow D. Account trigger. To update an Account's custom 'Timezone' field based on a related custom object's postal code, both a record-triggered flow with fast field updates and an Apex Account trigger can be used.
Question
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 ogject. Which two automationtools can be used to implement this feature? Choose 2 answers
Options
- AApproval process
- BFast field Updates record-triggered flow
- CQuick actions
- DAccount trigger
How the community answered
(30 responses)- A13% (4)
- B77% (23)
- C10% (3)
Why each option
To update an Account's custom 'Timezone' field based on a related custom object's postal code, both a record-triggered flow with fast field updates and an Apex Account trigger can be used.
An Approval process is designed for approving records, not for automatically updating fields based on other record data.
A record-triggered flow set for "Fast Field Updates" (before-save) can efficiently update fields on the triggering record based on related record data (like a custom object lookup) without consuming extra DML statements.
Quick actions are used to create or update records, log calls, or launch flows from specific UI contexts, but they do not automatically update fields when a record is edited.
An Apex trigger on the Account object (before update) can query the custom object based on the new postal code and update the Timezone field before the record is committed to the database.
Concept tested: Salesforce automation tools for record updates
Source: https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_record_trigger.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.