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

传统“集成”活动

上次更新日期 2026年5月18日

创建上传会话

UiPath.Box.Activities.File.ChunkedUpload.CreateUploadSession

“创建上传会话”活动使用 Box创建上传会话API 将新文件( “文件路径”)上传到指定文件夹(父文件夹 ID )。

After creating the session, the activity outputs a BoxUploadSession object (UploadSession) that includes the session properties.

工作方式

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

  1. 完成设置步骤。
  2. “Box 作用域”活动添加到项目中。
  3. Add the Create Upload Session activity inside the Box Scope activity.
  4. 输入“输入”属性的值。
  5. “输出”属性创建并输入BoxUploadSession变量。
    • 您的输入属性值将在“创建上传会话API”操作请求中发送。

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

属性

常见

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

输入

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

其他

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

选项

  • File Name - The name that you want to apply to the file. This field supports only Strings or String variables. If this property is left empty, the existing file name is applied.

输出

  • 上传会话- 包含会话属性的BoxUploadSession对象。输入BoxUploadSession变量。BoxUploadSession对象包含您可以在其他活动中使用的多个属性
  • 工作方式
  • 属性
  • 常见
  • 输入
  • 其他
  • 选项
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新