UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

传统“集成”活动

创建文件夹

UiPath.Box.Activities.Folder.CreateFolder

“创建文件夹”活动使用 Box创建文件夹API 在指定的父文件夹(父文件夹 ID )中创建新的空文件夹(文件夹名称)。

创建文件夹后,该活动将输出一个BoxFolder 对象( Box 文件夹 ),其中包含新文件夹的属性,这些属性包括您在后续活动(例如,BoxFolder.Id 上传文件 获取文件夹) 中可用于标识文件夹的 项目 等)。

工作方式

以下步骤和消息序列图是活动从设计时(即活动依赖项和输入/输出属性)到运行时如何工作的示例。

  1. 完成设置步骤。
  2. “Box 作用域”活动添加到项目中。
  3. Add the Create Folder activity inside the Box Scope activity.
  4. (可选)为输入属性输入值。
  5. “输出”属性创建并输入BoxFolder变量。
    • 您的输入属性值将在“创建文件夹API”操作请求中发送。

    • 此操作会将 BoxFolder 值返回到您的输出属性变量。

属性

常见

  • ContinueOnError - Specifies if you want the activity to continue running when an error is thrown. This field supports only Boolean values.
  • “显示名称”- 活动的显示名称。此字段仅支持 StringsString 变量。

输入

  • Folder Name - The name of the folder. This field supports only Strings or String variables.
  • Parent Folder ID - The ID of the parent folder where you want to create the new folder. This field supports only Strings or String variables.
    • Enter a value of "0" to create the folder in the root of the application.
    • 要获取非根文件夹的 ID,请使用“搜索内容”活动。

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

输出

  • Box Folder - The BoxFolder object that represents the newly created folder. This field supports only BoxFolder variables.

示例

下图显示了活动依赖关系和输入/输出属性值的示例。

  • 工作方式
  • 属性
  • 常见
  • 输入
  • 其他
  • 输出
  • 示例

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新