Add row Version 4 (Net)
Action group: Tables
Description
The action adds a row to the end of the table.
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Data table | Table for which the action will be performed. | Robin.DataTable | Yes | |
Values | The values to be added. | Robin.Collection | Yes | |
Resize | Allow columns to be added to the table depending on the number of values passed. | Robin.Boolean | true | No |
Special conditions of use
When adding a row with values outside the used range, an error will be displayed. (For example, we add a row with 3 values, but the previous rows have 2 values each).
If you add values within the range used, no error will occur.
Example of use
Task
You have a CSV-table.
.
Add a row below and save the table under the name "NEW".
Solution
Use the "Get table from CSV", "Add row", "Table to CSV" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Get table from CSV" action parameters.
- Set the "Add row" action parameters. Add a collection with target values in the "Values" field.
- Set the "Table to CSV" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The row was added to the table.
Обзор
Инструменты контента