Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Get parent transformation and job name

  1. #1
    Join Date
    Mar 2009
    Posts
    7

    Default Get parent transformation and job name

    Hi,

    I need to access the Job name, parent transformation name, Source/ target table/ file name in a Sub-transformation. None of these are passed in as constants or parameters to the sub transformation.

    Is there a way to access these using Modified Java script value ( and w/o using get variables and set variables).

    Thanks in advance.

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Code:
    _step_.getTrans().getParentTrans()
    PDI version 3.2.0 or later.

  3. #3
    Join Date
    Mar 2009
    Posts
    7

    Default kettle 3.1.0

    Quote Originally Posted by MattCasters View Post
    Code:
    _step_.getTrans().getParentTrans()
    PDI version 3.2.0 or later.
    Hi Matt,

    Thanks for your reply. We are using Kettle 3.1.0. Is there no way to get this info.

    thanks

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    nope, sorry

  5. #5
    Join Date
    Mar 2009
    Posts
    7

    Default

    Could you please suggest an alternative solution to this. How about source table names and parent PID ? is it possible to obtain this information.

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.