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

Document Understanding 活动

上次更新日期 2026年4月22日

上传文件

UiPath.MLServices.Activities.MLStorageUpload

描述

此活动使用与 ML 技能活动相同的连接到 AI Center 租户的原则。 建立连接后,您可以选择要在哪个项目和数据集中发回数据。

备注:

The size limit for Upload File activity is 5 MB/file or 10 MB/list of files.

项目兼容性

Windows - Legacy | Windows

配置

设计器面板

Depending on the chosen Connection mode, you can configure several essential properties directly from the body of the activity.

连接模式:机器人

Figure 1. The Upload File activity when the connection mode is made through a Robot

通过机器人建立连接模式时的“上传文件”活动

  • Project - Retrieves the list of available projects and allows you to select the project to which you want to send data.
  • Dataset - Retrieves the list of datasets in the selected project and allows you to select the dataset to which you want to send data.
  • Path into dataset - Allows you to specify the internal path within the dataset where you want to upload your file.
  • File - The local path of the file you want to upload.

连接模式:端点

Figure 2. The Upload File activity when the connection mode is made through an endpoint

通过端点建立连接模式时的“上传文件”活动

  • Dataset Url - The URL of the dataset where the file should be uploaded to. For instance, you can type https://aicentercom/j123/invoices in the Advanced Editor. Once public, it is visible in the Dataset detail page.
  • API Key - The API Key of the dataset where the file should be uploaded to. Once public, it is visible in the Dataset detail page.
  • Path into dataset - Allows you to specify the internal path within the dataset where you want to upload your file.
  • File - The local path of the file you want to upload.
属性面板

常见

  • “出错时继续”- 指定在活动引发错误时是否应继续自动化操作。该字段仅支持“布尔值”(True 和 False)。默认值为 False。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为“True”,则无论出现何种错误,系统都将继续执行项目。
    备注:

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

  • DisplayName - The display name of the activity. This field supports only String variables.

输入

  • API Key - The API Key of the dataset where the file should be uploaded to. This field supports only String variables
  • Connection mode - The desired type of connection (Robot or Endpoint)
    • Robot - Upload by selecting project and dataset.
    • Endpoint - Upload to a dataset exposed through an endpoint.
  • DatasetPath - The folder path within the dataset you want to use with this activity. This field supports only String variables.
  • DatasetUrl - The URL of the dataset where the file should be uploaded to. This field supports only String variables.
  • FileName - Specifies a new name for the file name when uploaded to the storage. If this field is left empty, the default file name is used. This field supports only String variables.
  • LocalFilePath - The full path of the local file that you want to upload to the storage. This field supports only String variables.

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
选项
  • UniqueName - Selecting this box automatically renames the file and gives it a unique name. The format used for the new name is <FileNameWithoutExtension>-<RobotType>-<RobotId>-<epoch>.<extension>. By default, this check box is cleared.

输出

  • FileName - The file name that was used to save the file in storage, stored in a String variable. This field supports only strings and String variables.
  • Headers - The headers returned by the ML Skill request.
  • StatusCode - The Status Code returned by the ML Skill request, stored in an Int32 variable. This field supports only Int32 variables.
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新