An administrator is designing an automation strategy for a custom object named Facility_Work_Order__c. The business process requires two distinct automated actions:
1. When a record is created or updated, automatically calculate and set the Priority field on the work order prior to committing the record to the database.
2. When a work order is marked as 'Closed', automatically create a related Billing_Invoice__c record and dispatch an email alert to the department supervisor.
Which two Flow configurations should the administrator select to fulfill these requirements efficiently? (Choose two.)
- A Record-Triggered Flow configured for 'Fast Field Updates' (before-save) to update the Priority field on the triggering record.Cevap
- A Record-Triggered Flow configured for 'Actions and Related Records' (after-save) to create the related Billing_Invoice__c record and send the email alert.Cevap
- CA Record-Triggered Flow configured for 'Actions and Related Records' (after-save) to update the Priority field on the triggering record.
- DA Record-Triggered Flow executing DML Create and Update elements inside a loop before system validation rules evaluate.
Cevap
Configure a Record-Triggered Flow set to 'Fast Field Updates' for updating fields on the triggering record, and configure a Record-Triggered Flow set to 'Actions and Related Records' for creating the related record and sending the email alert.
Updating fields on the triggering record prior to commit is best achieved using a Record-Triggered Flow optimized for Fast Field Updates (before-save). Creating related records and firing outbound actions such as email alerts require an after-save Record-Triggered Flow configured for Actions and Related Records.
Adım Adım Çözüm
Anahtar Kavram
Selecting between Fast Field Updates (Before-Save) and Actions and Related Records (After-Save) in Record-Triggered Flows
Tahmini Süre:1m 30s