Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

File exists (Step)

Parent article

The File exists step verifies the existence of a file by checking filenames coming from previous steps, and adds a Boolean flag field to the input fields of the output.

File exists dialog

The following fields are available to this transformation step:

FieldDescription
Step nameSpecify the unique name of the File exists transformation step on the canvas. You can customize the name or leave it as the default.
Filename field Specify the input field that will contain the filename at runtime.
Result fieldname Specify the name of the field that will contain the Boolean (Y/N) flag.
Add filename toSelect to add the filename to the list of filenames that can be used in the next job entry.
Include file type Select to include the file type in the field.
File type fieldSpecify the name of the field that contains the file type as a String (for example, file, folder, or imaginary).
NoteTo view a sample transformation in the PDI client, open the /design-tools/data-integration/samples/transformations/File exists – VFS example.ktr sample file.