Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: dynimically get all parameters with javascript

  1. #1
    Join Date
    Feb 2011
    Posts
    152

    Default dynimically get all parameters with javascript

    I have a situation where I need to read all parameters that a transformation has inside a javascript step. I want a way to loop through them all getting their names / values (we can assume all are strings) to build a single string containing that information. The difficult part is that I do not know ahead of time what the parameter names are, or how many there are. How can this be done?

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    You really want to do this in a step and not in a job entry?

    Follow me
    So long, and thanks for all the fish.

  3. #3
    Join Date
    Feb 2011
    Posts
    152

    Default

    I hadn't quite thought of that one. I guess either way may work in my situation. Provided the job entry can pass it to the next transformation step as a parameter.

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.