Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Internal Variables in Job not working

  1. #1
    Join Date
    Jul 2012
    Posts
    3

    Default Internal Variables in Job not working

    I am trying to use the Internal variable ${Internal.Job.Filename.Directory} with in the job step "SQL" to specify the "SQL from file" file path, but it does seem to be working as the variable is blank. It seems to work Transformations but not Jobs? Can I use it with in a Job?

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

    Default

    If you are running a job from a file (.ktr/xml) then the variable will indeed be set automatically.

  3. #3

    Default

    What is your setup? Standalone PDI without Repository?

  4. #4
    Join Date
    Jul 2012
    Posts
    3

    Default

    Yes, standalone PDI on windows (run from spoon) with file repository. ${Internal.Job.Repository.Directory} shows up as "/". Maybe these variables are relative to the repository root? If so, how do I get the full path?

  5. #5
    Join Date
    Jul 2012
    Posts
    3

    Default

    Solved this, If I don't use a repository at all it works. Obviously I don't yet understand the point of a file repository. thanks MichaelBieri

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.