
Orchestrator 用户指南
录制
录制功能可帮助您对出现故障的作业进行故障排除。每当作业失败时,都可以下载显示执行的最后时刻的屏幕截图或视频。此功能仅适用于 Unattended 自动化。
可以在创建流程时配置记录,也可以随后在“流程设置”窗口中启用和配置记录。
作业正在进行时,可以将其执行记录为视频或屏幕截图。
视频
系统会记录最后 3 分钟的执行情况,以便您排查可能发生的任何错误。
只有后台跨平台流程才能使用 Cloud Robots - Serverless 执行。但是,请注意,由于一个已知问题,使用 UIA 的前台作业会被解释为后台作业。
The Job Recording option is located on the Additional settings tab of the process creation/editing window.
默认情况下禁用。
启用后,该选项提供以下设置:
- 仅记录和存储失败的作业
- 仅记录失败的作业执行,使您能够识别底层错误并对其进行故障排除。
备注:
此选项适用于:
- 机器人 (Robot) 版本 2023.2 或更高版本
- 仅记录失败的作业执行,使您能够识别底层错误并对其进行故障排除。
- 记录并存储失败的队列事务 - 仅记录队列事务失败的作业的执行情况。因此,只能为包含一个或多个队列的流程启用此功能。
此选项适用于:
- 机器人 (Robot) 版本 2023.10 或更高版本
- 使用 System Activities 版本 2023.10 或更高版本的流程
- Record all jobs - Records all job executions.
备注:
此选项适用于:
- 机器人 (Robot) 版本 2023.2 或更高版本
We recommend that you enable Record all jobs for a brief amount of time so as to observe potentially odd behavior during job execution. You can then switch to only recording and storing failed jobs in order to efficiently use bandwidth and storage.
查看作业录制内容
记录作业的执行后,您可以从以下两个位置访问该作业:
- From the Job Details window.
- 从每个作业的上下文菜单中,使用“打开录制”选项。录制文件将在新的浏览器标签页中打开。
图 1. 作业详细信息

There are several actions that you can take in the browser player, such as playing, pausing, searching in the video timeline, setting the playback speed, downloading the video, and displaying it in Picture in Picture mode. Additionally, you can browse the Logs page in parallel.
查看失败的队列事务记录
您可以在以下位置观看包含失败队列事务的作业执行记录:
- 在相关失败事务的上下文菜单中,通过单击“打开记录” 。
- 在事务详细信息窗口中,单击打开记录。
如果未在流程级别启用记录或者队列事务没有失败,则该选项处于非活动状态。
已录制视频的可用性
录制的视频可以无限期存储在 Orchestrator 中,但您可以选择仅存储 7 天,并在此时间后自动将其删除。 为此,请将 UiPath.Orchestrator.dll.config 文件中的以下参数设置为 true:
VideoRecording.RetentionJobEnabledDatabase.EnableAutomaticMigrations
请注意,您可以将任何视频保存到本地计算机,以便超出此限制并在方便时进行访问。
审核
视频录制活动包含在 Orchestrator 审核中。
权限
This feature is controlled by the folder-level Execution Media permission, with the following options:
- View - Allows the account to see job execution recordings.
- Create - Allows the account/role that executes the job to also create the recording of the job execution.
- Delete - Allows the account to delete video recordings from Orchestrator.
拥有执行媒体创建权限的默认文件夹级角色为 Folder Administrator、Automation User 和 Robot。
浏览器功能
用于视频录制播放的媒体播放器与以下浏览器兼容:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Apple Safari
但是,这些浏览器的最新版本当前不支持某些功能,具体取决于其原生功能:
- Safari 和 Firefox 不提供下载视频录制内容的选项。
- Firefox does not allow you to adjust the playback speed or to enable the Picture in Picture option.
屏幕截图
每当作业失败时,都可以下载说明执行的最后时刻的屏幕截图。
此功能仅适用于无人值守的自动化。
提供以下设置:
- “缩放比例”- 可用于设置屏幕截图的缩放百分比。最大值为 100。默认情况下,此字段设置为 100。
- “频率”- 使您可以配置屏幕截图之间的时间间隔(以毫秒为单位)。最小值是 250。默认情况下,此字段设置为 500。
- “持续时间”- 使您能够配置从开始录制到失败的时间长度(以秒为单位)。最大值为 120。默认情况下,此字段设置为 40。
权限
You need View permissions on Execution Media in order to be able to download execution media on the Jobs page.
请记住,“作业”和“流程”页面具有各自的权限集,在处理与它们相关的操作时,需要相应地授予这些权限集。