Skip to main content
?

map

Summary​

Replaces each item in an array using a given logic

Description​

Fields​

iterable​

An array which will have its items altered.

action iteration filter privew

The logic to perform for each item in the array. This can be a set of actions or simply a value.

scope​

Define the name of an item in that array

action iteration filter privew

do this​

Execute the mapping action

action iteration filter privew

The scope determines the name of the scope that will contain the item index and item value to be used inside the logic. Similar to using the request/input/variable scopes, this scope is a dedicated space for the item information.


Example​

1. Add item​

First, we click add item button.

action iteration filter privew

Second, we insert value to item.

action iteration filter privew

2. Define scope​

We define names to match the array items.

action iteration filter privew

3. Set Do this​

We click add action button to select action.

action iteration filter privew

We set concatenate action.
First, insert string to concatenate
Second, set with element.

action iteration filter privew

4. Excute and look at the result​

We can run the simulation and see the array mapped by concatenate action.

action iteration filter privew