Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: JavaScript Modified Advanced Examples

  1. #1
    Join Date
    Jun 2008
    Posts
    1

    Default JavaScript Modified Advanced Examples

    Hi Guys

    I was wondering if any of you knows a good link where I can find documentation about how to use Java Script Modified Object in order to use it to copy data no the next step. For example I have this on the modified Java Script

    var hour;

    if (hour1.getInteger() > 0){
    hour = hour.getInteger()
    }

    the next step is a select values, that has the previous conditios and also the JS modified, but as soon as I run the Transformation I can't make this to execute the JS step

    Thanks in advanced

    Hernan

  2. #2
    Join Date
    Sep 2007
    Posts
    834

    Default

    You have some examples in the Samples/transformations/ folder. In particular, check this:
    JavaScript - create new rows.ktr
    which do what you wish: send data to the next step.

    -----
    Tenes algunos ejemplos en la carpeta Samples/transformations/. En particular, chequea esta:
    JavaScript - create new rows.ktr
    que hace lo que necesitas: enviar datos al paso siguiente.

    Aunque necesites Documentacion, te conviene postear dentro de Data Integration. Quizas ahi recibas mas respuestas.
    saludos

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.