Skip to main content

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 NameDescription
Select and Alter Tab:Specify the exact order and name in which the fields have to be placed in the output rows
1FieldnameThe name of the field from the input stream.
2Rename toThe new name of the field. Leave blank if you do not wish to rename the field
3LengthSpecify 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.
4PrecisionThe precision option depends on the field type, but only Number is supported; it returns the number of floating point digits
6Include unspecified fields, ordered by nameEnable 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.
1Source fieldsA list of input fields available to map. Select a field to begin mapping
2Target fieldsA 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
3AddAdds a source and target field mapping pair to the Mappings section
4DeleteRemoves 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.
1FieldnameThe name of the imported field. Note: If you renamed a field in the Select & Alter tab, the name here must match the renamed value.
2Rename toIf you want to rename this field, this is where you put the new name
3TypeThe data type for this field
4LengthThe field length
5PrecisionThe precision option depends on the field type, but only Number is supported; it returns the number of floating point digits
6Binary to Normal?Converts a string to a numeric data type, when appropriate
7FormatThe format mask (number type or date format)
8Date 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.
9Date LocaleSpecifies 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.
10Date Time ZoneSpecifies 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.
11Lenient number conversionWhen 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.
12EncodingSpecifies 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.
13DecimalA decimal point; this is either a dot or a comma
14GroupingA method of separating units of thousands in numbers of four digits or larger. This is either a dot or a comma.
15CurrencySymbol used to represent currencies