# Add DataRow

Adds a row to the table. The row is given as a `DataRow` object or as an array of values. The input table is not modified; the result is written to the `Result` output.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `DataRow` | `DataRow` | ❌ No     | Row to add. Either `DataRow` or `ArrayRow` must be set; if both are set, `DataRow` is used. |
| `ArrayRow` | `Object[]` | ❌ No     | Values of the row to add, in column order. Either `DataRow` or `ArrayRow` must be set. If the array is longer than the number of columns, the activity throws an error; if it is shorter, the remaining columns get their default values. |
| `DataTable` | `DataTable` | ✅ Yes    | Table to add the row to. |
| `DefaultValue` | `Object` | ❌ No     | The activity does not use this value; it has no effect on the added row. |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `Result`  | `DataTable` | Table with the row added. |