I'm trying to use the built-in Internal.Transformation.Filename.Directory
variable. I take as an example a simple sample the Pentaho Data Integration provides,CSV Input - Reading customer data with error logging.ktr
.
Here is the tooltip after CTRL+SPACE in a variable aware field:
However I do exactly the same as in the sample my variable has no value:
Any ideias? I've briefly checked Pentaho forum however the only related issue I found does not seem to answer my question.
I'm using Ubuntu and PDI version 4.2.1.
Thanks in advance.
This is normal behavior, in a repository you have no reference directory to use.
There are no relative paths in a repository, so best practice would simply be to define a variable indicating a file location. That way you can make this configurable for the various places where the repository is being used.
in PDI-7199, thanks to Matt Casters