Skip to main content

Write To CSV

Description

This activity writes a specified DataTable to a CSV file. It overwrites the DataTable content into a file.

Properties

Input

  • Data Table – Specify the DataTable object to write into the CSV file. This field supports only DataTable objects.
  • Delimiter– Specifies the delimiter in the CSV file. It can be tab, comma(','), semicolon(';'), caret('^'), or pipe('|').
  • Encoding – The encoding type to be used. By default, UTF-8 encoding is set. Refer to link for more information Character Encoding.
  • File Path – Specify the path to write into the CSV file.
  • Include Header – If selected, the first row in the DataTable is considered a header. This option is selected by default.

Optional

  • Continue On Error – Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False.

    Note: Ifthis activity is included in Try Catch and the value of this property is True, no error is caught when the project is executed.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Example

Download Example

Correlation Scope