Skip to main content

Create Map From Record Collection

Overview

The Create Map From Record Collection action will convert a Record Collection into a Map Collection with a field value from the Records as the key in the map. The most common use case is using the ID field value as the key.

Inputs

Records

The Record Collection that will be put in to the values of the Map Collection output variable.

Type
Record Collection

Key API Field Name

The API Field Name from the Record to set as the key value in the Map Collection. For example, if this input is set to Id the key in the Map Collection would be something like 0015200000vUOLqAAO.

Type
Text

Outputs

Map Collection

The Map Collection created from the Record Collection where the key is the field value as defined by the Key API Field Name input and the value is the Record from the Record Collection.

TypeApex ClassVariable Name
Apex-Definedflowpackpro__MapCollectionmapCollection