A Salesforce Administrator needs to design an autolaunched flow to update custom fields on multiple related asset records. Which two actions represent Salesforce best practices for handling data manipulation within a Flow loop while respecting governor limits? (Select 2 choices)
- Use an Assignment element inside the loop to add modified record variables to a record collection variable.Answer
- Place an Update Records element after the loop to update all records in the collection variable with a single DML operation.Answer
- CPlace an Update Records element inside the loop to commit field changes immediately after modifying each individual record.
- DPlace a Get Records element inside the loop to fetch updated parent field details for each iteration.
Answer
The administrator should use an Assignment element inside the loop to accumulate modified record variables into a record collection variable, and place a single Update Records element after the loop to commit all updates concurrently.
Bulkification in Flow Builder requires gathering all modified records into a single record collection variable using an Assignment element during loop execution, then calling a single Update Records element outside the loop to commit all records at once.
Step-by-Step Solution
Key Concept
Flow Bulkification and Governor Limit Management