| This is documentation for Semarchy xDI 2023.4, which is no longer supported. For more information, see our Global Support and Maintenance Policy. | 
Write a File

Description
Creates a file in the Runtime engine file system and writes a text in
this file.
The text written in this file is the text entered in the Code of the
action (in the expression editor).
Parameters
| Name | Mandatory | Default | Description | 
|---|---|---|---|
| Txt Write Filename | Yes | Full path of the file to write. | |
| Txt Write Newline Char | No | Line separator. Can be for example `\n' or `\r\n' or any string | |
| Txt Write Encoding | No | Java charset of the file. The system charset is used by default. | |
| Txt Write Append | No | False | If the file exists, append the text to it. | 
| Txt Write Append Line Separator | No | True | Automatically add a line separator at the end of the file. |