SearchFilesInFolder

Description

This activity returns the list of the files saved in a specific folder. It is possible also to apply some filters such as the search pattern or if to search in sub-folders or not.


Filtering

CreationTimeMax InArgument<DateTime>

Returns only the files that were created at the given date/time of sooner

CreationTimeMin InArgument<DateTime>

Returns only the files that were created at the given date/time or later

FileSizeMax InArgument<Int32>

Returns only the files whose size in bytes is less or equal than the given value

FileSizeMin InArgument<Int32>

Returns only the files whose size in bytes is greater or equal than the given value

LastWriteTimeMax InArgument<DateTime>

Returns only the files that were last updated at the given date/time or sooner

LastWriteTimeMin InArgument<DateTime>

Returns only the files that were last updated at the given date/time or later

ReadOnlyFilter InArgument<Boolean>

If true, only ReadOnly files will be returned. If false, only writable files will be returned. If not set, all files will be returned

SearchPattern InArgument<String>

The search string to match against the names of files in path. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.


Misc

Path InArgument<String> REQUIRED

The local path where to search files.

SearchInSubFolders InArgument<Boolean>

Default: false. If it is set to true DocsMarshal will also search for files within all subfolders.


Sorting

SortOrder ESortOrder?

Defines how the returned elements should be sorted