Add row Version 4 (Net)

Action group: Tables 


Description

The action adds a row to the end of the table.

Action icon

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Data tableTable for which the action will be performed.Robin.DataTable
Yes
ValuesThe values to be added.Robin.Collection
Yes
ResizeAllow columns to be added to the table depending on the number of values passed.Robin.BooleantrueNo

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

  1. Assemble a robot scheme with the actions:

  2. Set the "Get table from CSV" action parameters.

  3. Set the "Add row" action parameters. Add a collection with target values in the "Values" field.
  4. Set the "Table to CSV" action parameters.
  5. Click "Start" in the top panel.

Result

The program robot completed successfully.

The row was added to the table.

  • Нет меток