Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Help to create a Custom Step

  1. #1
    Join Date
    Jun 2013
    Posts
    1

    Default Help to create a Custom Step

    Hi my name is davidson and i am a brazilian software developer , I'm trying to create a step that will execute an algorithm in r that will bring me 2 outputs, and I wish my step had 2 different outputs and the User to choose where they would each output.


    My english is not the best sry about that.

    Something like the image below:
    Name:  Captura de tela de 2013-06-18 14:29:42.jpg
Views: 35
Size:  19.6 KB

    Is possible? And is there any example or something I can use as a basis?


    Thx.,
    Last edited by Davi; 06-18-2013 at 01:33 PM.

  2. #2
    Join Date
    Jul 2009
    Posts
    476

    Default

    The Filter rows step can use a field in a condition, and pass rows to different outputs based on whether the condition is true or not. See http://wiki.pentaho.com/display/EAI/Filter+rows for more information. You could implement your algorithm in a Javascript step ahead of the Filter rows step to create the field, and then the Filter rows would check the field's value and route the rows to the correct output. There are lots of other ways to do it, too.

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.