Activity «Write to CSV» can be found in section «CSV».
Activity writes data into CSV file. Two data types could be written - tables (DataTable) or strings (Dictionary). Activity sets delimeters and charset.
Нажмите на изображение, чтобы увеличить его.
Property; Class; Type; Options; Description
Add headers?; In; Boolean; *; Indication of the need to add headers to the file.
Table; In; DataTable; From the table; The table to be written to the CSV file.
Vocabulary; In; Dictionary<String, Object>; From the dictionary; The dictionary to be written to the CSV file.
CSV file path; In; String; *; Path to the CSV file to be manipulated.
Separator; In; Activities.CSV. TypeDelimiter; *; Indicate the type of separator, for example:, - Comma, | - Pipe, ^ - Caret.
Encoding; In; Activities.CSV. TypeEncoding; *; The encoding in which the CSV file is written.
Option; Description
From the table; Write table data into CSV file.
From the dictionary; Write into CSV file from dictionary. In this case only one row is being added + headers (if required). The headers are copied from dictionary keys, the values are copied from dictionary values.