Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Merge Files collection agent collects files from a local file system and inserts them into a workflow. Initially, the agent will scan the base directory for all sub-directories matching the Sub Directory regular the Sub Directory regular expression. The agent will collect the files matching the files regular expression. In addition, the Sort Order may the Sort Order may be used to sort the matched files on a per sub-directory basis. The files found will then be inserted into a CollectedFileUDR and routed into the workflow.

When a file has been successfully processed, the agent offers the possibility of moving, renaming, removing or ignoring the original file. The agent can also be configured to keep files for a set number of days. When all files in the batch are successfully processed, the agent stops awaiting the next activation, scheduled, or manually initiated.

When the Force Single UDR check box in the Merge Files tab is selected, the agent will try to read the complete file into one UDR. The agent will however only be able to handle files with a file size that is smaller than Integerthan Integer.MAX_VALUE. While reading a file, if an exception such as OutOfMemoryError or ArrayIndexOutOfBounds occursas OutOfMemoryError or ArrayIndexOutOfBounds occurs, the workflow aborts, and a message is logged indicating the name of the file that caused the exception. For information about the Integerthe Integer.MAX_VALUE type VALUE type see the Java documentation.

Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse

This section contains the following subsections:

...