Universal Containers needs to stamp the Stage_Last_Changed__c date field on the Opportunity record whenever StageName changes.
How should the Platform App Builder implement this request?
A.
A before-save record-triggered flow on Opportunity that assigns today ' s date to Stage_Last_Changed__c when StageName changes.
B.
A scheduled path on an after-save record-triggered flow that updates Stage_Last_Changed__c to today ' s date one hour after the change.
C.
An approval process on Opportunity that uses Update Records to set Stage_Last_Changed__c to today ' s date when StageName changes.
D.
An autolaunched flow invoked from a custom button that the user clicks after editing the Opportunity StageName to update Stage_Last_Changed__c to today ' s date.
A before-save record-triggered flow is optimized for updating fields on the same record that initiated the automation. The flow can trigger when an Opportunity is updated, test whether StageName changed, and assign the current date directly to Stage_Last_Changed__c . Salesforce recommends before-save flows for updating fields on new or changed triggering records because the changes are applied before the database save and avoid an additional DML operation. Salesforce also confirms that values assigned to the triggering $Record are automatically persisted. A scheduled path would introduce an unnecessary delay, while an approval process does not fit a simple field-stamping requirement. An autolaunched flow invoked manually would depend on user action and therefore could not reliably guarantee that every Stage change is captured.
================
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit