Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Merge Files Task

Merge Files Task

The Merge Files task accepts a list of files as input and merges their contents into a single output file on the local file system or network share.
Field
Definition
Basic Tab
Label
Specify a label for this task.
Input Files Variable
Specify the name of a variable of type File List which contains the files to merge. For example, ${variableName}
Output File
Specify the output file that will contain the contents of all the merge files.
When File Exists
Specify what to do when the output file already exists.
Default Value: rename
Advanced Tab
Error If File Not Found
If a specified file cannot be found when the the task attempts to merge the file, if true, an error will be thrown and the task will terminate.
Default Value: true
File Delimiter
Specify a delimiter to be written between each appended file. By default, nothing is written between the files, not even a line break.
Output Variables Tab
Output File Variable
If desired, specify the name of a variable which will contain the merged output file. The variable will be of type File and may be used in subsequent tasks that accept File or File List input variables. The variable will be created if it does not exist.
Processed Input Files Variable
If desired, specify the name of a variable which will contain all files that were successfully merged. The variable will be of type File List and may be used in subsequent tasks that accept a File List input variable. The variable will be created if it does not exist.
Control Tab
Version
The version of this task.
Log Level
Specify the level of logging to use while executing this task. Valid options are - silent, normal, verbose and debug.
Default Value: Inherited from parent Module
Execute Only If
Specify a condition that must be satisfied before this task can be executed. This task will be skipped if the specified condition is not met.
Disabled
Whether or not this task is disabled.
Default Value: false
On Error Tab
On Error
Specify the action to take when this task errors out. Valid options are - abort, continue, call:[module] and setVariable:[name]=[value]. For call:[module] replace [module] with the name of the module in the project (e.g. call:ErrorModule). For setVariable:[name]=[value] replace [name] with a variable name and [value] with the variable value (e.g. setVariable:error=true).
Default Value: Inherited from parent Module

0 COMMENTS

We’d like to hear from you!