filter

Summary​
Filters items in an array using a given logic
Description​
Fields​
iterable​
An array which will have its items filtered.

The logic to perform for each item in the array. A 'truthy' value will cause an item to be kept in the resulting array. False and null values are removed.
scope​
Define the name of an item in that array.

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.
do this​
Execute the filtering action

Example​
1. Add item​
First, we click add item button


2. Define scope​
We define names to match the array items.

3. Set Do this​
We click add action button to select action

First, find legth of fruit
Second, Use if to find a string with less than 6 characters.


4. Excute and look at the result​
We can run the simulation and see the array filtered by if action
