Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Clone row

  1. #1

    Default Clone row

    Hi guys,

    I have a problem with clone rows. After some steps in a column i have the number of times a row needs to be cloned. How can i tell into the Nr clones field to take this number from my input?

    Thanks

  2. #2

    Default

    I don't think you can.
    Try the Javascript-Step and use
    Code:
    newRow = createRowCopy(getOutputRowMeta().size());
    putRow(newRow);
    in a loop.

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.