Man illustrationFlower illustration

Docy

Create

Estimated reading: 2 minutes 72 views

Create activity is used for creating a new file.


*Text nameReference name of text file which will be opened.
*Text file nameFile name with path.
*TypeThe type of text document to be opened from the list is specified.
*Has headerIt is indicated whether the first line of the text document to be opened is a title or not.
DelimeterThe separator character in the text document to be opened is written.
EncodingThe character encoding that can be used is specified from the list.
OverwriteOverwrite if there is a file or folder with the same name.
Note: * Fields selected with are required, others are optional.

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

newText

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

C:\temp\notes.txt

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

You can use the Delimeter as shown in the example.

name; surname; age; “;”

You can use the Encoding as shown in the examples.

UTF-8

UTF-16

ISO-8859-1

ISO-8859-9

Cp1252

Cp1254

US-ASCII

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.

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

CONTENTS