Get Column
Get Column
Section titled “Get Column”Type: get-column · Package: DataTable Activities v1.0.0 · Output: List<object>
Returns all the values of a column as a list.
How it works
Section titled “How it works”Walks the table and returns the values of column column, in row order. Empty cells become null. If the column does not exist, it fails with a clear message. It does not modify the table.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
table | expression | The DataTable to read from, e.g. = customers. |
column | text | Column name. |
Optional parameters
Section titled “Optional parameters”None.
Output
Section titled “Output”Returns a List<object> with the column values.
Example
Section titled “Example”Get all emails and join them into a single string:
Get Column table = = customers column = "Email" → output: emails
Log message = = "Recipients: " + join(emails, "; ")Related activities
Section titled “Related activities”- Aggregate Column — sum/average/count a column.
- Collections — operate on the resulting list.
- Get Cell — read a single cell.