Skip to content

Add to List

Type: list-add  ·  Package: Collections Activities v1.0.0

Adds an item to the end of a list. It is the activity to accumulate data: saving each result while you go through something.

Add item to the list list. The list must exist (create it first with Create List).

ParameterEditorDescription
listexpressionThe list to add to.
itemexpressionThe element to add.
Create List outputVariable = pendientes
For Each items = = facturas itemVariable = factura
└─ activities:
If condition = = str(factura["Estado"]) == "Pendiente"
└─ then:
Add to List list = = pendientes item = = factura["Numero"]