{$Internal.Transformation.Filename.Directory} 和 ${Internal.Entry.Current.Directory} 有什么区别?

What is the difference between {$Internal.Transformation.Filename.Directory} and ${Internal.Entry.Current.Directory}?

要在转换中用作相对路径名,应使用哪一个?

${Internal.Transformation.Filename.Directory}

${Internal.Entry.Current.Directory}

有什么区别?

根据this

$Internal.Transformation.Filename.Directory is deprecated since 6.0. Correct behavior would be to replace the same folder by $Internal.Entry.Current.Directory

所以使用:

${Internal.Entry.Current.Directory}

如果使用大于或等于 6.0 的 PDI 版本,并且:

${Internal.Transformation.Filename.Directory}

如果没有。