Output

The output for the activity is the following.

Output Item

Datatype

Description

fileInfo

complex

Element containing the fileName, location, type, readProtected, writeProtected, and size data.

This is a repeating element. Each item in the element is a file or directory contained in the specified directory that matches the given criteria.

fullName

string

The name of the file, including the path information.

fileName

string

The name of the file without the path information.

configuredFileName

string

The name of the file or directory this activity is configured to operate on.

location

string

The path to the file.

type

string

The file type.

readProtected

boolean

Whether the file is read-protected.

writeProtected

boolean

Whether the file is write-protected.

size

integer

Size of the file in bytes.

lastModified

string

Time stamp indicating when the file was last modified. You can compare values in this element using the compare-dateTime() XPath function. For example,

compare-dateTime($List-Files/
ListFilesActivityOutput/files/
fileInfo[fileName="myFile.txt"]/
lastModified,
current-dateTime())