List Files

The List Files activity returns information about files or directories, or a listing of all the files in the specified directory.

Settings

Field Description
Mode

The type of listing you want to retrieve. You can select from the following options:

  • Only Files
  • Only Directories
  • Files and Directories (Default)

Input

The Input tab displays the following fields:

Field Description
fileName

The path and name of the file or directory to monitor. You can also use wildcard characters to monitor a directory for files that match the provided specification.

For example, flogo/files/*.log

It lists the files directory that have a .log extension

Output

The output schema displays all the metadata fields of a file/directory in a read-only array format. The metadata object contains fullPath, name, size, mode, modTime and isDir fields.

Loop

Refer to the section on "Using the Loop Feature in an Activity" in the TIBCO Flogo® Enterprise User Guide for information on the Loop tab.