Comment on page
Get Record from Record Map
Retrieve a particular record from a RecordMap using the specified key. This will commonly be used inside a Flow loop to efficiently retrieve a related record.
For example, consider the following Flow structure:
- 1.Use
Get Records
to retrieve a collection of Contacts - 2.
- 3.Use a
Loop
over the collection of Contacts - 4.Use Get Record from Record Map inside the loop with
Contact.AccountId
as the key to get the related Account
This approach ensures that your Flow will run efficiently within the Salesforce Flow limits by reducing queries and CPU time.
Name | Type | Description |
---|---|---|
record | SObject | The record retrieved based on the key. This may be null if there is no record assigned to the specified key. |
Last modified 9mo ago