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

配置任务计时器

“配置任务计时器”活动,该活动允许您为 Action Center 中的每个任务配置计时器。

UiPath.Persistence.Activities.Tasks.ConfigureTaskTimer

描述

允许您为 Action Center 中的每个任务配置计时器。 您可以将以下操作之一配置为计时器到期时的结果:

  • 警示分配的用户
  • 重新分配任务

项目兼容性

Windows | 跨平台

设计器面板

  • 任务 ID - 您创建的任务活动的 ID。
  • Start criteria - The event that acts as a start for the timer. There are two possible options: Task created and Task assigned.
    • When the Start criteria is Task created, the End criteria can be Task assigned or Task completed.
    • When the Start criteria is Task assigned, the End criteria can only be Task completed.
  • End criteria - The event that acts as the end for the timer. There are two possible options: Task assigned and Task completed. New activities default to Task completed.
    • When the End criteria is Task assigned, the Outcome can only be Reassign.
    • When the End criteria is Task completed, and the Outcome is Alert Assignee, but no user was assigned, the alert does not trigger a notification.
    • Timers with Task assigned as the End criteria are not displayed in Action Center. They continue to run, and the configured Outcome still triggers when they expire.
  • “计时器持续时间” - 在 Studio Web 和 Studio STS 26.0.188 或更高版本中,以0d 00h 00m格式设置计时器持续时间。此字段也支持表达式。在较早的 Studio 版本上,请改用“天”“小时”“分钟”字段。
  • - 持续时间(以天为单位)。选项介于 0 到 90 天之间。
  • 小时- 持续时间(以小时为单位)。选项介于 0 到 23 小时之间。
  • 分钟- 持续时间(以分钟为单位)。选项包括:0、15、30 和 45 分钟。
  • Outcome - Triggered when the timer runs out before the end criteria is met. The supported options are Alert Assignee, Reassign, Unassign, and Auto Complete.
    • Alert Assignee triggers a notification to the assigned user. The channels where you receive the notification are in-app and email, depending on what you have enabled.
    • Reassign assigns the task to another user or to a group, as set by the Assignment criteria on breach field.
    • Unassign removes the current assignment when the timer expires.
    • Auto Complete completes the task automatically when the timer expires.
    • A task carries no timer after it is reassigned, unassigned, or automatically completed.
  • Assignment criteria on breach - How the task is assigned when the Outcome is Reassign. The options are User (the default), All users in the group, Workload based, and Round robin.
  • Reassign to user - The user that the task is reassigned to, when the Assignment criteria on breach is User. Search for a user, or provide a value or a variable.
  • Reassign to group - The group that the task is reassigned to. This field is displayed when the Assignment criteria on breach is any option other than User, and it cannot be empty.

属性面板

其他

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

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

  • “超时(毫秒)”- 指定最长等待时间(以毫秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。默认值为 30000 毫秒(30 秒)。
  • “文件夹路径”- 要用于此活动的 Orchestrator 文件夹的路径。如果留空,则会使用当前的 Orchestrator 文件夹。此字段仅支持字符串和字符串变量。

已知问题

In Studio Desktop, selecting Clear Value for Timer Duration leaves the previous value visible in the field, although the task runs with no timer attached. This affects Persistence activities V1.12.0. Studio Web is not affected.

To apply a timer again after clearing the value, delete the contents of Timer Duration and enter the duration again.

  • 描述
  • 项目兼容性
  • 设计器面板
  • 属性面板
  • 其他
  • 已知问题

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新