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

Input field usage in Start and End scripts of MJS

$
0
0
It would be great if some one could clarify whether we can use variables in start and end scripts of Modified Java Script.
In simple terms, I have an input field (result) for MJS and I just want to use the input field in start and end scripts(for instance I have used Alert(result) in start script). I am getting the below error message though :(

2013/08/29 08:41:03 – Modified Java Script Value 3 2.0 – ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Error processing start script
2013/08/29 08:41:03 – Modified Java Script Value 3 2.0 – ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : ReferenceError: “result” is not defined. (trans_Start#2)

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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