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

工作流活动

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

等待队列项目然后继续

UiPath.Persistence.Activities.Queue.WaitForQueueItemAndResume

描述

暂停当前工作流的执行,直到指定的事务达到完成状态(成功、失败、已放弃、已删除)。要指定事务,必须提供从“添加队列项目并获取引用”活动获得的QueueItemData对象。事务完成后,系统将继续执行工作流。

项目兼容性

Windows - 旧版 | Windows | 跨平台

Windows、Windows - 旧版配置

设计器面板
  • Queue Item Object (Input) - The transaction you want to suspend, stored in a QueueItemData variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supports QueueItemData variables only.
  • Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.

属性面板

常见

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). 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”,则系统在执行项目时不会捕获任何错误。

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

  • StatusMessage - The message specified in this property field is displayed in orchestrator alongside the workflow that is suspended by this activity. This field supports strings and String variables only.

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

输入

  • Queue Item Object (Input) - The transaction you want to suspend, stored in a QueueItemData variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supports QueueItemData variables only.

其他

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

输出

  • Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.

跨平台配置

  • Queue Item Object (Input) - The transaction you want to suspend, stored in a QueueItemData variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supports QueueItemData variables only.
  • Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.
高级选项

常见

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). 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”,则系统在执行项目时不会捕获任何错误。

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

  • StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this activity. This field supports strings and String variables only.

  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).* If the Wait For Queue Item and Resume activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

此页面有帮助吗?

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