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

IT 自动化活动

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

性能触发器

UiPath.DesktopTriggers.Activities.ProcessPerformanceTrigger

重要提示:

“性能触发器”活动必须放置在 中。

使用此活动可以创建一个触发器,用于监控系统或特定应用程序的性能。

您配置的触发器将在满足阈值条件后执行,并返回有关性能事件的信息以供日后调查。

属性

常见

此类别中的属性是指常见活动设置。

  • DisplayName (String) - Sets the name for this activity. For example, "Monitor UiPath Studio CPU usage".

输入

此类别中的属性是指基本性能设置。

  • 要监控的应用程序(字符串)- 设置要监控性能的整个系统或特定应用程序。每个活动只能选择一个应用程序。您可以监控所有可用的用户应用程序。

    为确保输入正确的流程名称,请从下拉菜单中选择它,或选中“Windows 任务管理器”>“详细信息” 选项卡,因为该活动使用相同的流程名称,但不带 .exe 扩展名。

    要查看当前打开的所有应用程序,请使用活动主体设置此属性,因为它会显示一个下拉列表,您可以从中选择一个应用程序或所有应用程序。 使用刷新按钮显示最新的应用程序列表。

  • Performance Monitor Type (String) - 从内存、处理器 (CPU)、磁盘或网络性能中选择。

  • Include child processes (Boolean) - If selected, the activity monitors child processes as well. Subsequently, the trigger event result displays an array of all child processes and their information, while the total value is for the parent process. By default, the option is set to false.

  • Include privileged access (Boolean) - If selected, the activity monitors processes that require privileged access, in addition to user-available ones. Subsequently, the trigger event result displays an array of all open processes and their information, and the total consumption value includes the privileged processes as well. Returning the full result may take up to 20 seconds. By default, the option is set to false.

    备注:

    对于“磁盘消耗”,选中复选框不会返回特权流程结果。

  • Threshold Duration(sec) (Int32)- Sets the number of seconds the threshold level must be exceeded continuously before executing the trigger. Accepts minimum 1 second, maximum 600 seconds.

  • Threshold Level(%) (Double) - Sets the exceed level for the selected performance type (memory or CPU). Accepts minimum 1%, maximum 100%.

    备注:

    监控单个流程的网络使用情况需要管理员权限。 使用任务管理器终止所有 UiPath 流程,以管理员模式重新启动 UiPath Studio,然后重新运行工作流。

示例

例如,假设您创建一个性能触发器,以在应用程序导致 CPU 使用阈值级别10%持续超过4秒时通知您。您将“性能监控器类型”设置为“CPU”,将“阈值级别(%)”设置为10 ,将“阈值持续时间(秒)”设置为4

其他

此类别中的属性是指其他设置。

  • Private (Boolean) - To skip generating data logs for this activity, check this box. By default, the checkbox is cleared (set to false).
  • 属性
  • 常见
  • 输入
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新