Wait for Files
Description
Waits for, and detects files on the Runtime engine filesystem using a polling mechanism.
You can make use of detection results in two ways:
-
Use this action as the source of a bind link, to take the properties of detected files, and pass them directly to a target action.
-
Store the list of detected files to a database table.
You can also link certain metadata object nodes to this action to define some parameters automatically.
Parameters
Parameter | Required | Default value | Description |
---|---|---|---|
Wait File Dir |
Detection directory.
|
||
Wait File |
File to detect.
|
||
Wait File Includes |
No |
List of files to include, as a semicolon separated list of file masks. Use the For example:
|
|
Wait File Excludes |
No |
List of files to exclude, as a semicolon separated list of file masks. For example: |
|
Wait File Timeout |
No |
Variable |
Duration in milliseconds, after which the action stops trying to detect files. The default value is |
Wait File Pollint |
No |
1000 |
Polling interval in milliseconds. |
Wait File Nb Files |
No |
1 |
Number of files to wait for before completing the wait action. |
SQL Connection |
No |
Name of the SQL connection to use for publishing the list of detected files. |
|
SQL Schema Name |
No |
Name of the SQL schema to use for publishing the list of detected files. |
|
SQL Transaction Name |
No |
Name of the SQL transaction to use for publishing the list of detected files. |
Metadata links
You can set some parameters automatically by dragging and dropping metadata nodes onto the action to link it. The following parameters inherit their values from metadata links:
Parameter | Node to link | Description |
---|---|---|
Wait File Dir |
Folder |
Link a folder node to define it as the detection directory. |
Wait File |
File |
Link a file node to define it as the file to detect. |
SQL Connection |
RDBMS server |
Link a database server node or related subnodes to use its SQL connection. |
SQL Schema Name |
RDBMS server |
Link a database schema node or related subnodes to store the list of detected files in the schema. File names are stored when they meet detection criteria. |