For Each DataRow
Runs the activities in the body for each row of a DataTable. The current row is used in the body through the row variable of type DataRow (default name row).
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅ Yes | The table whose rows are iterated. If empty (null), the loop does not run. The rows are taken when the loop starts; rows added to the table during the loop are not iterated. |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Inside the body, the number of the current row (one-based). |
Usage
On the canvas there are the DataTable field, Row Name (the name of the row variable) and the body (Add Activity).
Inside the body, Break ends the loop immediately; Continue skips the rest of the iteration and moves on to the next row.