Get Record from Record Map
Last updated
Last updated
Retrieve a particular record from a 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:
Use Get Records
to retrieve a collection of Contacts
Use to get a of related Accounts using their Id
as the key
Use a Loop
over the collection of Contacts
Use 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 by reducing queries and CPU time.
key
Yes
String
The key (usually an Id) to use for looking up a particular record
recordMap
Yes
The from a previous action to use for retrieval
record
SObject
The record retrieved based on the key. This may be null if there is no record assigned to the specified key.