A medical-devices company wants the Stage_Last_Changed__c date field on an opportunity to be stamped every time StageName changes. What should the Platform App Builder build?
- A before-save record-triggered flow on Opportunity that sets Stage_Last_Changed__c to today's date whenever StageName changes
- An after-save record-triggered flow with a scheduled path that sets Stage_Last_Changed__c to today's date one hour after the change
- An approval process on Opportunity that uses Update Records to set Stage_Last_Changed__c to today's date whenever StageName changes
- An autolaunched flow started from a custom button, which the user clicks after changing StageName, to set Stage_Last_Changed__c to today's date
Show answer
Answer: A
Why: Only a field on the triggering record needs to change, so a before-save flow is ideal: it updates the record while it is being saved, with no extra DML. Salesforce recommends before-save flows for same-record field updates because they are the fastest option.