Help Centre › Building Processes
This article describes the RPA File functionality to write data to TXT file.
For a full list of available functions, please read FILE functions.
Description
The FILE Write data to TXT file function allows you to write data to TXT file.
Setting it up
To use the FILE Write data to TXT file function, follow these instructions:
{{popups:rpas/add:action=file-write-to-txt}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Write data to TXT file function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FILE Write data to TXT file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path for the text file |
| Variable | Yes | Text | - | Variable containing the text |
| Overwrite | No | Switch | Off | Overwrite if the file already exists |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File exists | The file already exists and overwrite is off |
Tips
- Creates a new text file from variable data