Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

  • The Map action allows a workflow to apply a specific transformation to each element in a collection, such as a list or array.

  • The action works by applying a function to each item and generating a new collection with the modified values.

...

  • This action is particularly useful for converting or transforming data structures, formatting outputs, or altering values based on a set of rules.

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#F4F5F7

For example, if a workflow has list of account objects and want to map new values with the account records, then they can prefer using Map action.

  • Let’s explore the screens that follow, after drag-n-drop of Map action on workflow canvas.

Config

...

Config Field

Description

Map Source

It enables to choose the source type to where the mapping will be performed on records.

Model / Input / Variable

It enables to choose the exact value of source type to where the filtering will be performed on records.

info

Note: By default, label of this field will be populated depending upon the Map source chosen earlier.

Key Property

It enables to specify the key property which will be unique value to trace records in collection. //Crosscheck

info

Note: By default, this field will be invisible. It will only be populated if the Map Source is chosen as Model.

Output Properties

Specify output properties or assign a value to field It enables to specify output properties of records after filtering data, which means which field values are to be taken under consideration in filtering from the selected key property.//Crosscheck

info

Note: By default, this field will be invisible. It will only be populated if the Map Source is selected.

Filters

It enables to perform filtering on map records.

Info

Reference: Filters

...

Source Type

Description

Static

Use this option to provide a fixed static value.

Model

Choose the field from other models whose value you want to include.

Input Variable

Select from the variables created in the layout whose value you want to use.

User

You can also select fields from the current logged-in user in your organization to include in the merge.

info

Note: The User source refers to the currently logged-in user in your organization. This means that if you include the First Name field from the user, each time a different user logs in, they will see their own First Name displayed.

Action Details

...

Include Page
Action Details
Action Details

...