...
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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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 infoNote: 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. You can explore more about filters here.
|
Filters
...
...
Filter Field | Description | |||
---|---|---|---|---|
Field Name | It enables to specify the field name as left operand in filtering. | |||
Operator | It enables to specify the operator to compare in filtering such as
| |||
Source Type | In this option, you can select various sources from which you want to display values. You can explore
|
Source Type
...
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. infoNote: 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 | ||||
---|---|---|---|---|
|
Input
...
...
Include Page | ||||
---|---|---|---|---|
|