Flow: How To Use “Update Records”

As mentioned in the Introduction and Assignment article, only the data elements can modify your records. You can think of the actions inside the flow as editing the records, and “Update Records” as clicking save. Similar to other data elements there are also two ways to update records:

flow update records - setup
1. Use a Record or a Record Collection

Commonly used when you have record or record collection variables that allow for input and you modify those variables in the flow. For the collection variable, it will often be combined with a loop.

In each iteration of the flow, you update each item. After the loop finishes, you can update all items at once.
2. Specify Conditions and Set Fields Individually
flow update records - Specify Conditions and Set Fields Individually

If you have a Screen element which allows users to enter new values, it might be redundant to update the record variables because the system will automatically create a new variable for each screen component. In this case, it is recommended to use this method.

By setting the fields individually, you can either update the fields using another resource, or a manually typed in value.

Check Out How Record Id Can Be Used In Real Cases!
Use Case: Get a List of Names of Related Records to a Field
A while ago we published a Use Case to create ...
Read More
Use Case: Update All Related Contacts (Account Contact Relationship)
Do you have the Account Contact Relationship enabled for your ...
Read More
Use Case: Create an Easy Login Flow
Do you want to enforce the entry of certain user ...
Read More
Use Case: Mass Update Records From Related List #2
In this article we introduced the magical ids variable to ...
Read More
Use Case: Mass Update Records From Related List #1
Have you heard of inline editing? This is my favorite ...
Read More
Use Case: Create Custom Roll-Up Summary With Flow
I have really mixed feelings about the roll-up summary field ...
Read More
Use Case: Update Contact After Logging Emails Or Calls
When I was a Salesforce admin, people asked me many ...
Read More
Use Case: Notify Owners When Case Merged Or Master Case Closed
I believe many are excited about the Case Merge release ...
Read More
Use Case: Auto-Generate Multiple Lines Of Opportunity Product
* Updated at Mar. 25, 2021. The original flow is ...
Read More

Official Salesforce Help Article On Update Records

Notify of
Inline Feedbacks
View all comments