title: CDA kettle over kettleTransFromFile diffren behaviour vs Pentaho Data Integration
body: <p>I create in pentaho server a form using CDE. This form is a table with some input fields. On button click is generate an array which is send as parameter value. IN db table i have 3 columns: alfa, beta, gamma.</p>
  
  <pre><code>//var data = JSON.stringify(array);
  var data = [
   {"alfa":"some txt","beta":"another text","gamma": 23},
   {"alfa":"stxt","beta":"anoxt","gamma": 43}
  ]
  </code></pre>
  
  <p>I create a kettle transformation which is run as expected. This 2 rows of array are inserted in database, but when i run same kettle transformation using CDA kettle over kettleTransFromFile in Pentaho, only first row is inserted.
  This is my transformation:</p>
  
  <p><a href="https://i.stack.imgur.com/D2UvF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D2UvF.png" alt="enter image description here"></a></p>
  
  <ol>
  <li>Get Variable: data(string)</li>
  <li><p>Modified Java Script Value: <strong>data_decode</strong> contain the json array</p>
  
  <p>var data_decode = eval(data.toString());</p></li>
  <li><p>JSON Input : alfa - $..[0].alpha, beta - $..[0].beta, gamma -$..[0].gamma</p></li>
  <li>tableinsert - insert in database.</li>
  </ol>
  
  <p>... From spoon, kettle command line all are OK, but not from Pentaho.
  What is wrong?</p>
  
  <p>Thank you!
  Geo</p>
  
  <p><hr>
  <strong>UPDATE</strong></p>
  
  <p>Maybe it's miss configuration or a bug or a feauture, but i don't use this method. I find a simple method: i create a <strong>scriptable over scripting</strong> datasource with a simple java code inside (using beanshell). Now it's work as expected. I'll move this form inside a Sparkl plugin. Thank you.</p>
  
  <p>This question, still remains open, maybe somebody want to try this approach.</p>