Skip to main content

CSV File Input

Description:

CSV file input is a step in the Input Plugin for Process Studio Workflows. CSV file input step is used to read data from a delimited file. You can define any separator you want to use, such as pipes, tabs, and semicolons in addition to commas. Internal processing without rendering the file leads to quick step execution. Options for this step are a subset of the Text File Input step.

Configurations:

No.Field NameDescription
1Step nameName of the step. This name has to be unique in a single workflow.
2Accept filenames from previous stepSelect the checkbox if you want to use files from the previous the step.
3Filename OR The filename field (data from previous steps)

Specify the name of the CSV file to read

Note: The field is unavailable if you selected Accept filenames from previous step.

OR,

Select the fieldname that will contain the filename(s) to read from. If this step receives data from a previous step.

Note: The field is available only if you select, Accept filenames from previous step checkbox.

3.aInclude the filename in the output?Select the checkbox if you want the name of the file to be included in the output.

Note: The field is available only if you select, Accept filenames from previous step checkbox.

4DelimiterSpecify the file delimiter character used in the target file. Special characters (e.g. CHAR HEX01) can be set with the format $[value], e.g. $[01] or $[6F,FF,00,1F].
5EnclosureSpecify the enclosure character used in the target file. Special characters (e.g. CHAR HEX01) can be set with the format $[value], e.g. $[01] or $[6F,FF,00,1F].
6NIO buffer sizeSpecify the size of the read buffer in bytes, read from the disk each time.
7Lazy conversionEnable this checkbox to enable lazy conversion algorithm. The lazy conversion algorithm tries to avoid unnecessary data type conversions that could lead to significant performance improvements if possible.
8Header row present?Enable this option if the target file should contain a header row containing column names.
9Add filename to resultEnabling this checkbox adds the CSV filename(s) read to the result of the workflow. Filenames in result is a unique list being kept in memory that can be used in the next steps or parent workflow steps or parent process entries.
10The row number field name (optional)Specify the name of the Integer field that will contain the row number in the output of this step.
11New line possible in fields?Enable this checkbox if data in fields may contain new line characters.
12Running in parallel?Enable this checkbox if you will have multiple instances of this step running (step copies) and if you want each instance to read a separate part of the CSV file(s).
13File EncodingSpecify the encoding of the file being read.
14Fields TableThis table contains an ordered list of fields to be read from the file.
15Preview buttonClick to preview the data coming from the file.
16Get Fields buttonClick to get all the fields from the file based on the current settings (i.e. Delimiter, Enclosure, etc.). All fields identified will be added to the Fields Table.