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

传统“集成”活动

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

创建文件版本会话

UiPath.Box.Activities.File.ChunkedUpload.CreateFileVersionSession

“创建文件版本会话”活动使用 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 File Version 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 ID - The ID of the file that you want to version. This field supports only Strings or String variables.
    • 要获取文件 ID值,请添加活动或运行输出File.Id对象的外部流程(例如,上传文件搜索内容等)。
  • File Path - The location of the file that you want to upload. This field supports only Strings or String variables.

其他

  • “私有”- 选中后将不再以“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 论坛

保持更新