Create File Activity
The Create File activity enables users to generate a new file at a specified location. This activity ensures that files are created with precise naming and allows for conditional overwriting of existing files.
| Field | Description | Requirement |
|---|---|---|
| File name | Specifies the full path and name of the file to be created. | Required |
| Overwrite | Determines whether an existing file or folder with the same name should be overwritten. If set to True, the existing item is replaced. If False, the activity fails if an item with the same name already exists. | Optional |
Action Types & Examples
File Name
- Format:
string - Example Result:
"C:Test.txt"
Overwrite Status
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - File name: C:Test.txt - Overwrite: true
Execution Parameters - File name: C:Deneme.csv - Overwrite: false
Technical Notes
The
Create Text Fileactivity, found under theText Filecategory, offers an alternative method for creating.txtand.csvfiles.