Skip to content

Filter DataTable

Type: filter-datatable  ·  Package: DataTable Activities v1.0.0  ·  Output: DataTable

Filters a DataTable and returns a new table with only the rows that meet the conditions. It is the most common operation when processing data: keeping the pending ones, those greater than an amount, those of a client. Supports multiple conditions combined with AND (all) or OR (any) logic.

Evaluate each row against the conditions. In the Designer, the conditions are created with a visual editor: for each one you choose a column, an operator and a value, and define whether they are combined with AND or OR. It returns a new table with the rows that pass the filter.

ParameterEditorDescription
tableexpressionThe DataTable to filter.
conditionseditor de condicionesOne or more conditions (column · operator · value) with AND/OR logic.

Ninguno.

OperadorSignificado
equals / not-equalsIgual / distinto
containsContains the text
starts-with / ends-withStarts/ends with
greater-than / less-thanGreater/less than (numeric)
greater-or-equal / less-or-equalGreater-equal / lesser-equal (numeric)
is-empty / is-not-emptyEmpty/non-empty cell

Returns a DataTable with the matching rows. The rest are discarded (the original table is not modified).

Keep invoices pending and greater than 1,000,000:

Filter DataTable
table = = facturas
conditions:
Estado equals "Pendiente" Y
Total greater-than 1000000
→ output: importantes
Log message = = "Filas que cumplen: " + rowCount(importantes) + " de " + rowCount(facturas)