Rename Fields (Select/Rename Values)
Description
Rename Fields (Select / Rename values) is a step in the Transformation Plugin for Process Studio Workflows. The Rename fields step is useful for selecting, renaming, removing, changing data types and configuring the length and precision of the fields on the stream.
Configurations
No. | Field Name | Description |
---|---|---|
Select and Alter Tab: | Specify the exact order and name in which the fields have to be placed in the output rows | |
1 | Fieldname | The name of the field from the input stream. |
2 | Rename to | The new name of the field. Leave blank if you do not wish to rename the field |
3 | Length | Specify this value if you want to implicitly select all other fields from the input stream(s) that are not explicitly selected in the Fields section. |
4 | Precision | The precision option depends on the field type, but only Number is supported; it returns the number of floating point digits |
6 | Include unspecified fields, ordered by name | Enable if you want to implicitly select all other fields from the input stream(s) that are not explicitly selected in the Fields section |
Button: Edit Mapping | ||
The Edit Mapping dialog allows you to easily define multiple mappings between source and target fields. Note: Edit Mapping will only work if there is only one target output step. | ||
1 | Source fields | A list of input fields available to map. Select a field to begin mapping |
2 | Target fields | A list of fields that source fields can be mapped to. Once you have selected a source field, select a target field to create a mapping |
3 | Add | Adds a source and target field mapping pair to the Mappings section |
4 | Delete | Removes a selected Mappings entry |
Remove Tab: Specify the fields that have to be removed from the output rows. Click Get fields to remove button to import fields from previous steps. Note: Field removals can slow down the process since the field order gets internally changed. | ||
Meta-data Tab: Change the name, type, length and precision (the metadata) of one or more fields. Click Get fields to change to import fields from previous steps. | ||
1 | Fieldname | The name of the imported field. Note: If you renamed a field in the Select & Alter tab, the name here must match the renamed value. |
2 | Rename to | If you want to rename this field, this is where you put the new name |
3 | Type | The data type for this field |
4 | Length | The field length |
5 | Precision | The precision option depends on the field type, but only Number is supported; it returns the number of floating point digits |
6 | Binary to Normal? | Converts a string to a numeric data type, when appropriate |
7 | Format | The format mask (number type or date format) |
8 | Date Format Lenient? | Determines whether the date parser is strict or lenient. Leniency means that invalid date values are processed. If set to N, only strictly valid date values will be accepted; if set to Y, the parser will attempt to determine the intention of an incorrect date, if possible, and correct it. |
9 | Date Locale | Specifies the date locale to use for date conversions and calculations. Leave blank to use the default encoding on your system or chose from the populated this list accordingly. |
10 | Date Time Zone | Specifies the date time zone to use for date conversions and calculations. Leave blank to use the default encoding on your system or chose from the populated list accordingly. |
11 | Lenient number conversion | When this option is set to Y, numbers get parsed until it finds a non-numeric value (e.g. a dash or slash) and stops parsing without reporting an error. When set to N, numbers get parsed strictly throwing an error in case invalid numbers are in the input. The default behavior is set to N. |
12 | Encoding | Specifies the text file encoding to use. Leave blank to use the default encoding on your system. To use Unicode, specify UTF- 8 or UTF-16. On first use, Process Studio searches your system for available encodings and populates this list accordingly. |
13 | Decimal | A decimal point; this is either a dot or a comma |
14 | Grouping | A method of separating units of thousands in numbers of four digits or larger. This is either a dot or a comma. |
15 | Currency | Symbol used to represent currencies |