Skip to content

List Contains

Type: list-contains  ·  Package: Collections Activities v1.0.0  ·  Output: boolean

Checks if a list contains an element and stores true/false in a variable. Useful to avoid duplicates or validate membership.

Search for item within list and save the result (true if present) to outputVariable.

ParameterEditorDescription
listexpressionThe list.
itemexpressionThe element to search for.
outputVariablenombre de variableVariable where to save the result.

Avoid adding a repeated element:

List Contains list = = procesados item = = id outputVariable = yaEsta
If condition = = !yaEsta
└─ then:
Add to List list = = procesados item = = id