Was this helpful?
Was this helpful?
Append Files adds one or more text files to an existing text file.
Take a look at the configuration parameters of the component. Parameters supported by are marked with (DB)
.
Only the files to be used in this component must be in the current pipeline directory.
fileName: name of the final file.
success: when the call is successful.
See below how the component behaves in a determined situation and what its respective configuration is.
File Name: final_file_final.txt
Charset: "UTF-8"
Custom Append Files Specification: enabled
Files to Append:
Fail On Error: false
File content: final_file.txt
File content: file1.txt
File content: file2.txt
Final file content: final_file.txt
Discover more about the Append Files component and how to use it on the Digibee Integration Platform.
File Name (DB)
Name of the file or full file path (for example, tmp/processed/file.txt) that receives the content from other files.
N/A
String
Charset
Charset of the final file.
UTF-8
String
Custom Files Specification (DB)
If the option is active, it’s possible to inform the files list to the component in a dynamic way.
False
Boolean
Files to Append
If Custom Files Specification is not active, you can add the files to be added to the original file by clicking the +Add button. Otherwise, you can inform the files list in the corresponding field.
N/A
Array of Objects (JSON) or Options of Files to Append
File Name
Name of the file. This parameter is displayed only if Custom Files Specification is not active and after clicking the +Add button.
{{ message.fileName }}
String
Charset
Charset of the file. This parameter is displayed only if Custom Files Specification is not active and after clicking the +Add button.
UTF-8
String
Fail On Error
If the option is active, the execution of the pipeline with error will be interrupted; otherwise, the pipeline execution proceeds, but the result will show a false value for the “success” property.
False
Boolean