# forEach

## forEach

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F8HB7RQB8J9IWGuVlAb42%2Fimage.png?alt=media\&token=fe5aac6b-7780-4547-92c7-4aad19058e5f)

{% tabs %}
{% tab title="Entry Vars" %}
**Collection :**  A collection of properties (object) must be sent, which will be iterated and applied a series of functions individually. To access the name of the property within the functions, you must refer to the function and the "key" property. To access the value of the property, you must refer to the function and enter the "item" property.

Mode : Se debe seleccionar el modo en que se ejecutaran las funciones a las propiedades iteradas.

&#x20;  **default** : default mode executes the functions at the same time on each of the iterated properties.

&#x20;      **sync** : sync mode executes the functions to the iterated properties one at a time, that is, the execution of a property does not start until it finishes with the one previously entered.

&#x20;**async** : the async mode, like the default, executes the functions at the same time in each of the iterated properties.

**Step by Step :**
{% endtab %}

{% tab title="Callbacks & Outvar" %}
Error :  It is executed when it does not receive a valid collection ( object ).

OutVars&#x20;

`Null`

Iteration : It opens a window for us to declare the logic that will be applied to each iterated property.

Non iterable : Executed when input value is not iterable.

OutVars&#x20;

`Null`

Done : It is executed when the logic declared within the "iteration" option is finished, it is applied to each of the iterated properties, it returns an object with values ​​that are returned within "Iteration" in the "onComputeCallback" function, which is used to declare the end of logic. this object has the same number of positions as the number of properties that were iterated.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}

## Collection Filter

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FvY1jzihzfMTR98AegZ2z%2Fimage.png?alt=media\&token=e91cbea9-782a-4f3c-ad65-ba0c33e297de)

{% tabs %}
{% tab title="Entry Vars" %}
**collection :**  A collection of properties (object) must be sent, which will be iterated and applied a series of functions individually. To access the name of the property within the functions, you must refer to the function and the "key" property. To access the value of the property, you must refer to the function and enter the "item" property.

**Step by Step :**
{% endtab %}

{% tab title="Callbacks & Outvar" %}
**Non iterable :** It is executed when it does not receive a valid collection (object).

OutVars&#x20;

`Null`

**Iteration :**&#x20;

**Done :** It is executed when the logic declared within the "iteration" option is finished executing. It applies to each of the iterated properties and returns an object with the property and its value, as long as a boolean value of "true" is placed within the "onComputeCallback" function in the "Iteration" to declare the end of the logic. This object does not have the same number of properties as the initial count, as it only returns those that meet this condition.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}
