Skip to main content

Property Input

Description

Property Input is a step in the Input Plugin for Process Studio Workflows. This step reads data (key, value) from Java properties files.

Configurations:

No.Field NameDescription
1Step nameSpecify the name of the step. This name can me modified from the default name and has to be unique within the workflow.
2Filenames from fieldEnable ‘Filename is defined in a field’ checkbox to read filenames from a previous field.
3Get filename from fieldSpecify the field to the filenames from.
4File or directorySpecify the location and/or name of the input text file.

Important: Click Add to add the file/directory/wildcard combination to the list of selected files (grid) below.

5Regular expressionSpecify the regular expression you want to use to select the files in the directory specified in the previous option.
6Selected FilesContains a list of selected files (or wildcard selections) and a property specifying if file is required or not. If a file is required and it is not found, an error is generated; otherwise, the file name is skipped.
7Show filenames(s)...Click button to display a list of all files that will be loaded based on the current selected file definitions.
Content Tab:
1Include filename in output?Enable checkbox to include the file name (String) in the output of this step.
2Rownum in outputSpecify a field name to contain the row number (Integer) in the output of this step.
3Reset rownum per file?Enable this option if you want the generated row number (optional) to be reset (to 1) at the start of every individual file.
4LimitLimits the number of rows to this number (zero (0) means all rows).
5Result filenamesEnable checkbox to add the names of the files read to the result of this workflow. A unique list is being kept in memory that can be used in the next process entry in a process, for example in another workflow.
Fields Tab:
1NameSpecify the name of the output field.
2ColumnSpecify the attribute to read.
3TypeSpecify the data type to convert to.
4FormatSpecify the format or conversion mask to use in the data type conversion.
5LengthSpecify the length of the output data type.
6PrecisionSpecify the precision of the output data type.
7CurrencySpecify the currency symbol to use during data type conversion.
8DecimalSpecify the numeric decimal symbol to use during data type conversion.
9GroupSpecify the numeric grouping symbol to use during data type conversion.
10Trim typeSpecify the type of trimming to use during data type conversion.
11RepeatSelect Y/N. Select Y to repeat the column value of the previous row if the column value is empty (null).
Additional Output Fields Tab:
1Short filename fieldSpecify a fieldname to hold the short filename.
2Extension fieldSpecify a fieldname to hold the filename extension.
3Path fieldSpecify a fieldname to hold the file path.
4Size fieldSpecify a fieldname to hold the file size.
5Is hidden fieldChoose from Y/N. Choose Y to hide field.

Default is N.

6Last modification fieldSpecify a fieldname to hold the last modification date.
7Uri fieldSpecify a fieldname to hold the Uri (e.g. file:///C:/temp/file.txt).
8Root Uri fieldSpecify a fieldname to hold the Root Uri (e.g. file:///C:/).