Files Handling

Write Text File

This activity saves a string that is stored in a variable as a .txt file in a given place and under a given name with a chosen encoding standard. You can choose to overwrite the existing file with the file with new encoding standard.

v2_fh_write
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
ContentStringInputvariable that stores text to save
Display NameLiteralInputchanges display name of the activity
EncodingDropdownInputselect type of encoding from the dropdown list
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
File PathStringInputdirectory path to a file (file name and extension included)
Overwrite Existing FileBooleanInputcheckbox; default is "off"
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities