Skip to main content

Put Item in Map

Overview

The Put Item in Map action adds items to a Map Collection. It is used for Map Collections where the key and value are simple Flow variable types such as Number, Text, Date, etc.

To convert a Record Collection into a Map Collection, use the Create Map From Record Collection action.

Inputs

Map Collection

The Map Collection input is the variable of a Map Collection items should be added to.

TypeApex Class
Apex-Definedflowpackpro__MapCollection

Key

The key used when putting an item in the Map Collection.

The type of this input is Text, but you can pass in other types like Dates and Numbers and they will automatically convert to text.

Type
Text

Value

The value used when putting an item in the Map Collection.

The type of this input is Text, but you can pass in other types like Dates and Numbers and they will automatically convert to text.

Type
Text