Description
Appends text to a specified file.
Parameters
Path
-
Set a value: enables you to directly write the desired path.
-
Save the previous step result: chooses the previous activity result as a path.
-
Calculate a value: enables you to use available properties and methods to form a path.
Text
-
Set a value: enables you to directly provide a text to be written to a file.
-
Save the previous step result: chooses the previous activity result as a text to write.
-
Calculate a value: enables you to use available properties and methods to form an output string.
Quite often, when working with text in a written document, you need to do a line break or other operations with strings. In these cases, you can use the following characters in the "Calculate a value" field when working with text:
\n
— line feed. You can also use the\x0D\x0A
value for line breaks in text.\t
— horizontal tab.\'
— single quote.\"
— double quote.
and so on.
Encoding
This parameter allows you to specify the encoding, here is a full list of the supported ones: 437
, 737
, 775
, 850
, 852
, 855
, 856
, 857
, 858
, 860
, 861
, 862
, 863
, 864
, 865
, 866
, 869
, 874
, 922
, 1046
, 1124
, 1125
, 1129
, 1133
, 1161
, 1162
, 1163
, 1250
, 1251
, 1252
, 1253
, 1254
, 1255
, 1256
, 1257
, 1258
, 28591
, 28592
, 28593
, 28594
, 28595
, 28596
, 28597
, 28598
, 28599
, 28600
, 28601
, 28603
, 28604
, 28605
, 28606
, maccroatian
, maccyrillic
, macgreek
, maciceland
, macroman
, macromania
, macthai
, macturkish
, macukraine
, koi8r
, koi8u
, koi8t
, armscii8
, rk1048
, tcvn
, georgianacademy
, georgianps
, pt154
, viscii
, iso646cn
, iso646jp
, hproman8
, macintosh
, ascii
, tis620
, utf7
, utf8
, cesu8
, ucs2
, utf16
, utf16le
, utf16be
, binary
, base64
, hex
, 932
, shiftjis
, csshiftjis
, mskanji
, sjis
, windows31j
, ms31j
, xsjis
, windows932
, ms932
, cp932
, 936
, cp936
, gb2312
, gb231280
, gb23121980
, csgb2312
, csiso58gb231280
, euccn
, windows936
, ms936
, 949
, cseuckr
, csksc56011987
, euckr
, isoir149
, korean
, ksc56011987
, 950
, eucjp
, gbk
, gb18030
, big5
.
Comment
Contains an annotation to the activity. The input text will be displayed above the activity name.
Usage Examples
This activity may be useful in creating different reports. For example, a robot is processing documents in a loop and the task is to write the corresponding processing status for each document. In this case you may use the activity where you need to set a pattern for writing the status once and then it will be writing the text to the end of the file in a loop.