Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

javascript startup script and variables

$
0
0
I have a transformation that has 2 steps in it, get variables followed by a javascript step. In the javascript step I have both a transformation script, and a startup script. When I try to reference field names in the startup script that the get variables step sends it, I get an error:

Variable not defined.

However, if I copy the code in the startup script to the transformation script, and comment it out, then everything works. This sounds like a bug to me.

I submitted this as a bug, but it just got closed saying it is not a bug. Can someone look at this and explain what is going on?

Here is the bug report I submitted. It has an attached transformation to demonstrate this:

http://jira.pentaho.com/browse/PDI-13170

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>