activities
latest
false
UiPath logo, featuring letters U and I in white
Workflow Activities
Last updated Nov 26, 2024

Create File

UiPath.Core.Activities.CreateFile

Description

Creates an empty file in the specified location. If a file already exists at that location, it is replaced. If you want to create a file in which you want to write, it is recommended to use the Append Line activity.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Cross-platform configuration

  • File location - The full path of the file to be created.
  • File name - The name of the file to be created.
Advanced options
Common
  • Continue On Error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is not configured and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Output

  • Output File - Reference to the created file for use in other activities.

Windows - Legacy, Windows configuration

Properties panel
Common
  • DisplayName - The display name of the activity.
  • Continue On Error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is not configured and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
    Note: If this activity is included in Try Catch and the value of the Continue On Error property is True, no error is caught when the project is executed.

File

  • Path - The full path of the file to be created.
  • Name - The name of the file to be created.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • Output File - Reference to the created file for use in other activities.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.