Create

Create activity is used for creating a new text file.

*Text name The reference name is given to the text file which will create in this field.
*Text file name The file path is written.
*Type The type of text document to be opened from the dropdown is chosen.
*Has header It is indicated whether the first line of the text document to be opened is a title or not.
Delimeter The separator character in the text document to be opened is written.
Encoding The character encoding that can be used is chosen from the dropdown.
Overwrite This checkbox enables overwriting if there is a file or folder with the same name.

Note: * Fields selected with are required, others are optional.

Text name example

You can use the Text name as shown in the example.

newText

Text file name example

You can use the Text file name as shown in the example.

C:tempnotes.txt

Type examples

You can use the Type as shown in the examples.

CSV_Default

CSV_Excel

CSV_InformixUnload

CSV_MySQL

CSV_Oracle

CSV_PostgreSQLCsv

CSV_PostgreSQLText

CSV_RFC4180

CSV_TDF

Text

Delimeter example

You can use the Delimeter as shown in the example.

name; surname; age; “;”

Encoding examples

You can use the Encoding as shown in the examples.

UTF-8

UTF-16

ISO-8859-1

ISO-8859-9

Cp1252

Cp1254

US-ASCII

ANSI

Overwrite status

If the “Overwrite” field’s checkbox status is:

True: If there is no file/folder with the same name in the relevant directory, a name change is made. If there is a file/folder with the same name in the relevant directory, the name is changed by overwriting the old file/folder.

False: If there is no file/folder with the same name in the relevant directory, a name change is made. If there is a file/folder with the same name in the relevant directory, the name is not changed. The function gets an error with the message There is folder already in the directory.

Note

The Create file activity under File Operations can also be used to create files with .txt and .csv extensions.