Write File
Writes data to a file.
This activity writes the given data to a file in a user-specified format.
Input
Filename:
String Argument
Required
The full path of the filename that is to be written.File Encoding: Specifies Output File Encoding.
utf-8
Input:
Object Argument
Set input variableMode:
CreateAndWrite
:- Creates the user-specified file if it doesn't exist. If it exists, an error is thrown.CreateOrReplace
:- Creates a new file if the user-specified file doesn't exist. If it exists, it is replaced.CreateOrAppend
:- Creates a new file if the user-specified file doesn't exist. If it exists, the specified input data is appended to the given file (Only for text files, throws an error for other file types)
Output
Format: Sets the output format in which the file is to be written.
PlainText (default)
JSON
XML
Last updated