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

工作流活动

上次更新日期 2026年2月25日

完成任务

UiPath.Persistence.Activities.Tasks.CompleteTask

描述

无需相应的人工干预即可完成指定的操作。

条件

仅当分配的操作和尝试完成操作的帐户匹配时,才能执行完成任务活动。例如,如果(使用“分配任务”活动)将一个操作分配给特定用户或机器人帐户,则该操作使用“完成任务”活动的自动化项目也必须由相同的用户或机器人帐户执行。

项目兼容性

Windows - 旧版 | Windows | 跨平台

Windows、Windows - 旧版配置

设计器面板
  • TaskID - The ID of the Action that you want to complete. This field supports integer values only.
  • Task Action - The action the user needs to perform for completing the Action. It must match the Property Name of the Button Component in the Form Designer. For example, "submit". This field supports string values only.
  • TaskData -The JSON format of the user input, where the key is the Property Name in the form, and the value is the user input.
属性面板

常见

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field supports Boolean values (True, False) only. 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.

    备注:

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

  • “显示名称”- 活动的显示名称。

  • “超时(毫秒)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

输入

  • Orchestrator Folder Path - The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and String variables.

    备注:

    如果执行此操作的用户没有目标文件夹所需的权限,则无法完成任务并引发严重错误。您可以在此处查看有关文件夹权限的更多信息。

  • Task Action - The action the user needs to perform for completing the Action. It must match the Property Name of the Button Component in the Form Designer. For example, "submit". This field supports string values only.

  • TaskData -The JSON format of the user input, where the key is the Property Name in the form, and the value is the user input.

  • TaskID - The ID of the Action that you want to complete. This field supports integer values only.

其他

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

跨平台配置

  • TaskID - The ID of the Action that you want to complete. This field supports integer values only.
  • Task Action - The action the user needs to perform for completing the Action. It must match the Property Name of the Button Component in the Form Designer. For example, "submit". This field supports string values only.
  • TaskData -The JSON format of the user input, where the key is the Property Name in the form, and the value is the user input.
高级选项

常见

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field supports Boolean values (True, False) only. 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.

    备注:

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

  • “超时(毫秒)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。

输入

  • Orchestrator Folder Path - The path to the Orchestrator Folder you want to use with this activity. If left empty, the current Orchestrator folder is used. This field supports only strings and String variables.
    备注:

    如果执行此操作的用户没有目标文件夹所需的权限,则无法完成任务并引发严重错误。您可以在此处查看有关文件夹权限的更多信息。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2026 UiPath。保留所有权利。