UiPath.Core.Activities.CreateFile
Creates a file in the specified location. If only a file name is specified, the file is created in the project folder.
To learn how to use this activity, see Tutorial: Working with Files and Folders.
Properties
Common
- ContinueOnError - If selected, specifies that the automation should continue even when the activity throws an error. If not selected, the execution of the project stops when an error is encountered.
- DisplayName - The name displayed for the activity in the Designer panel.
File
- Name - The name of the file to be created.
- Path - The full path of the file to be created. Click on the right side of the field and then, from the menu, choose one of the available options to indicate the path of the file to create:
- Data from an application added to a card or from the Excel Workspace. For example, select an Excel file and then select a cell that contains a file path, or indicate a field from a selected email in Outlook that contains a file path.
- Text - Enter a file path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the file name using formulas in the Excel Workspace.
- Open in Advanced Editor - Enter a VB expression.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Updated 2 years ago