Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Executing a step based on the parameter passed

  1. #1
    Join Date
    Sep 2012
    Posts
    27

    Default Executing a step based on the parameter passed

    I have two independent steps Step1 and Step 2 in the same ktr file.
    I want to execute Step1 or Step2 based on the command line parameters passed.
    Is this not possible to do this without using kitchen ?

    Thanks,
    Lakshmi

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

    Default

    In a transformation you split a data path depending on a field value, so you would have to convert the variable to a field.
    Mind you, both steps are initialized, but only one will receive rows, the other will be fed an empty stream.
    If possible you should use job entry "Simple Evaluation" to control the execution path.
    So long, and thanks for all the fish.

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.