Data Load Wizard - Transformation Script | ||
This step allows you to define a script which is applied to every row in the file. The script uses the BeanShell scripting language. The script allows you to perform customized mappings, transformations and validations on the incoming data.
Accessing Row Data
Returns the value of the current row in the column with the specified name.
Sets the value of the current row in the column with the specified name to the specified value. Logging and Error Handling
Writes an info message to the log file.
Writes a warning message to the log file.
Writes an error message to the log file and rejects the row. Validation
Returns Transformation
Returns a string there the first character of the given value is changed to upper case. Example:
Combines the given values according to the given pattern using java.text.Messageformat. Example:
Returns a string there the first character of the given value is changed to lower case. Example:
Returns a string there the filler is prepended to the given text until it has reached the given length. Example:
Returns a string there the filler is appended to the given text until it has reached the given length. Example:
Tries to match the given value string to the given pattern string. If the string matches the method will return an array containing the capturing groups else it will return Example: |