A system administrator at a software enterprise needs to automate two separate data management requirements for a custom Subscription object linked to the standard Account object via a lookup relationship:
1. Automatically populate a custom Tier field on the triggering Subscription record prior to database commit whenever a new Subscription is created.
2. Update the parent Account record's Active Contract Status field immediately after a Subscription record is saved with an active status.
Which TWO automation design options adhere strictly to Salesforce architectural best practices for performance and capability limits? (Select TWO.)
- Implement a Record-Triggered Flow configured for Fast Field Updates (Before-Save) to evaluate and update the Tier field on the triggering Subscription record.Cevap
- Implement a Record-Triggered Flow configured for Actions and Related Records (After-Save) to update the parent Account record's Active Contract Status field.Cevap
- CImplement a Record-Triggered Flow configured for Actions and Related Records (After-Save) to populate the Tier field on the triggering Subscription record.
- DCreate a Roll-Up Summary field on the Account object to automatically summarize active Subscription records connected via the lookup relationship.
Cevap
The correct architecture requires a Record-Triggered Flow configured for Fast Field Updates (Before-Save) for same-record updates, and a Record-Triggered Flow configured for Actions and Related Records (After-Save) for cross-object updates.
For same-record field modifications, Salesforce best practice dictates using a Record-Triggered Flow optimized for Fast Field Updates (Before-Save), as it modifies record values in memory prior to database storage without generating additional DML statements. For updates involving related objects (such as updating the parent Account), an Actions and Related Records (After-Save) Record-Triggered Flow must be used.
Adım Adım Çözüm
Anahtar Kavram
Selecting optimal record-triggered flow trigger timing and declarative tool limits for related records