An administrator at a medical device manufacturing company is designing automation for a custom object named Device_Complaint__c. The business requires the following behavior:
1. Automatically calculate and update the Severity_Score__c field on the triggering Device_Complaint__c record whenever it is created or updated, maximizing system performance.
2. Create child Investigation_Task__c records and send an email alert to the safety committee when the complaint status changes to 'High Risk'.
Which two Flow trigger configurations should the administrator use to satisfy these requirements? (Choose two.)
- A Record-Triggered Flow optimized for Fast Field Updates to update the Severity_Score__c field on the triggering record before it is saved to the database.Cevap
- A Record-Triggered Flow optimized for Actions and Related Records to create the Investigation_Task__c records and send the email alert after the record is saved.Cevap
- CA Record-Triggered Flow optimized for Fast Field Updates to create the Investigation_Task__c records and dispatch the email alert.
- DA Record-Triggered Flow optimized for Actions and Related Records using an explicit Update Records element to modify the Severity_Score__c field on the triggering record.
Cevap
The administrator should implement a Record-Triggered Flow optimized for Fast Field Updates for same-record updates, and a Record-Triggered Flow optimized for Actions and Related Records to create related records and send email alerts.
Salesforce provides two primary optimization settings for record-triggered flows: 'Fast Field Updates' (before-save) and 'Actions and Related Records' (after-save). Updating fields on the triggering record before database commit is best handled by Fast Field Updates because it executes in memory without additional DML transactions. In contrast, creating related records and sending email alerts require the record to be committed to the database, which necessitates the Actions and Related Records configuration.
Adım Adım Çözüm
Anahtar Kavram
Selecting appropriate Record-Triggered Flow optimization paths (Fast Field Updates vs. Actions and Related Records) based on required operations and execution performance.
Tahmini Süre:1m 30s