Sample transformations
The design-tools/data-integration/samples/transformations
directory contains the following example KTRs that show how to use this step:
JavaScript - Access database connection metadata
JavaScript - Access environment variables
JavaScript - Add 2 and a half seconds to a Date
JavaScript - Base64 Decoder and Encoder
JavaScript - create new rows
JavaScript - date to string conversion
JavaScript - dialog
JavaScript - extract date from filename
JavaScript - Get the filename from a path
JavaScript - Hex to Integer conversion
JavaScript - parse Debet-Credit prefix in numbers
JavaScript - Parse XML
JavaScript - process all fields per row
JavaScript - replace values in a string with other values
JavaScript - Skip rows after x rows
JavaScript - Split String
JavaScript - String to Number to String conversion
JavaScript - Strip line feeds from text
JavaScript - truncate a date
Last updated
Was this helpful?