
Actually, I don’t know when this change happened, but I just noticed that Flow loops now only have four steps instead of five. The two assignments can now be consolidated into one.
You still have to add the record to a collection, but you can use the same assignment element.
Example 1: Update the record currently in the loop.
- Use a Get Records element to create a collection of records to loop through.
- Add a loop element
- Add ONE assignment element
- Update field values for record currently in the loop.
- Create a new record collection variable to hold the records you want to update.
- Use the same assignment element to add the record currently in the loop to the new collection.
- Add an Update Records element to update the records in your new collection.
Follow my blog to keep up to date on Flow and Salesforce
Example 2: Create new records.
- Use a Get Records element to create a collection of records to loop through.
- Add a loop element
- Add ONE assignment element
- Create a new record variable (not collection) to hold the values of the new record you want to create.
- Assign field values to your new record variable.
- Create a new record collection variable to hold your records that you want to create.
- Use the same assignment element to add the record currently in the loop to the new collection.
- Close the loop.
- Add a Create Records element to create the records in your new collection.
Previously step 3 involved two assignment elements!
Watch this recording on Flow loops.

This is how you would combine steps 3 and 4 into one assignment!