订阅

UiPath 活动

UiPath 活动指南

Create Folder

UiPath.Core.Activities.CreateDirectory

描述

Creates a folder in the specified location. If a folder with the same name already exists at the specified path, the activity does nothing. If a parent folder that does not exist is specified in the path, the entire path is created.

属性

Common

  • DisplayName - The display name of the activity.
  • ContinueOnError - 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 blank 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:

如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为“True”,则系统在执行项目时不会捕获任何错误。

在文件夹中

  • “路径”- 要创建的目录的完整路径。

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

UiPath.Core.Activities.CreateDirectory

描述

在指定位置中创建目录。

To learn how to use this activity, see Tutorial: Working with Files and Folders.

配置活动

In the Body of the Activity

  • Folder name - Click Plus plus button on the right side of the field and then, from the menu, choose one of the available options to indicate the folder to create:

    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file and then select a cell that contains a folder path, or indicate a field from a selected email in Outlook that contains a folder path.
    • Use Saved Value - Select a value in the form of a folder path that you previously saved for later use in the project.
    • Text - Enter a folder 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 folder name using formulas in the Project Notebook.
    • Ask when run - Prompt for a folder path when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.

    If only a folder name is specified, the folder is created in the project folder.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.
  • 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.

在文件夹中

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

大约一年前更新


Create Folder


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.