Announcement: New Design for docs.informatica.com!
We have updated the look and feel of docs.informatica.com. To load the latest design, press CTRL-F5 to clear the pages you previously cached on our site, or simply restart your browser.
The JavaScript processor implements the following methods that are not defined in standard JavaScript. You can use these extensions in any location where the Script accepts a JavaScript expression.
Most of the functions are JavaScript implementations of transformers or actions.
extra.sum(number1, number 2, ...)
Returns the sum of the parameters.
extra.allSame(param1, param2, ...)
Returns true if all the parameters have the same value.
lookup.<lookup_name>(key)
This function accesses a global lookup table by name.
In the Script, define a global
InlineTable
or
XMLLookupTable
. Then, in a JavaScript expression, you can access the table. For example, if you define a global