Skip to content

Clear List

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

Empties a list: removes all its elements, leaving it ready for reuse. Useful for restarting an accumulator between rounds of a process.

Remove all elements from list. The variable still exists, but now points to an empty list.

ParameterEditorDescription
listexpressionThe list to be emptied.
For Each items = = lotes itemVariable = lote
└─ activities:
Clear List list = = acumulado // reinicia el acumulador en cada lote
... procesar el lote acumulando en 'acumulado' ...