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

工作流活动

上次更新日期 2026年3月6日

获取进程

UiPath.Core.Activities.GetProcesses

Gets the list of all running processes on the current machine.

备注:

The list of processes returned may vary depending on the operating system and the user account running the robot. On Linux and macOS, you may receive a smaller list compared to Windows due to operating system permission restrictions.

属性

输出
  • “流程”- 表示当前计算机上正在运行的流程的Process对象集合。
常见
  • “显示名称”- 活动的显示名称。
  • 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”,则系统在执行项目时不会捕获任何错误。

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

Platform-specific behavior

Windows environment

When running on Windows:

  • Returns all processes running on the system, regardless of which user started them.

Cross-platform environment

When running on Linux or macOS:

  • Returns only the processes that the robot user has permission to see.
  • If the robot runs as a regular user, it will only see processes owned by that user.
  • If the robot runs with administrative/root privileges, it will see all processes on the system.

使用“终止流程”活动的示例

您可以在此查看包含多个活动的示例,了解如何使用获取流程活动。

  • 属性
  • Platform-specific behavior
  • Windows environment
  • Cross-platform environment
  • 使用“终止流程”活动的示例

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新