UiPath Documentation
maestro
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Maestro 用户指南

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

流程建模

设计一次流程并大规模运行。BPMN 设计器可以将业务步骤转换为可执行流程。添加事件、任务和网关。连接元素以定义路径。验证逻辑。移交模型,以供实施和测试。结果是利益相关者可以阅读、您的团队可以执行的图表。

Link elements between that with connectors docs image, in a way that is meaningful to your flow. Then you can add, link, and remove other available elements. Double-select any element to name it.

Use the marquee tool to select elements in the designer (select and drag) and the hand tool to navigate inside the canvas (Space key, then select and drag).

To hide the canvas background, open the context menu on the canvas and select Hide background grid. You can show the grid again by selecting Show background grid.

30 秒快速入门

  1. 将“开始事件”、“任务”和“结束事件”拖到画布上。

  2. Use the element toolbar to append the next step with a single selection.

  3. 将步骤与序列流连接,并对每个元素进行重命名。

  4. 打开“验证”面板,修复所有错误,然后保存。

构建流程

添加正确的构建模块

  • 事件用于开始、等待或完成(例如,消息已接收、计时器、结束状态)。
  • 任务用于进行人工或系统作业(审批、API 调用、子流程)。
  • 网关用于拆分或合并路径(专属、并行、包容)。
  • 需要明确所有权或记录输入/输出时,使用参与者和数据

清晰地连接和标记

  • 绘制序列流,以设置执行顺序。
  • 使用业务语言命名任务和网关(“审核请求”、“金额 > 5000?”)。
  • 在决策不明确的情况下,为流程添加标签(“是”、“否”)。

将元素添加到画布中

您可以通过两种方式将 BPMN 元素添加到画布中:

  • 从左侧工具栏中拖动元素,并将其放置在画布上的任何位置。
  • Double-select an element in the left toolbar to automatically add it to the center of the canvas.

Use drag-and-drop when you want precise placement. Double-select to quickly insert elements while modeling.

保持其在流程中的可读性

  1. 从元素工具栏中附加操作,以保持整洁的间距。
  2. 对齐和分配选定节点;将并行分支保持在并行状态。
  3. 重新路由连接器以避免线条交叉;优先绘制轻缓的弯曲线条而非锯齿状线条。
  • 平移和缩放:使用鼠标/触控板或迷你地图;适应屏幕,以便快速概览。
  • 多选:使用选取框(拖动方框)将相关步骤移动到一起。
  • 手形工具:按住空格键或鼠标中键即可平移,无需更改选择。
  • 微移:使用箭头键微调元素的位置。

交接前验证

  1. 打开“验证”面板,以跳转到错误和警告。
  2. 错误会阻止部署;警告会突出显示可读性或非阻止性问题。
  3. 常见修复:
    • 开始/结束未连接意味着您应该添加缺失的流。
    • 网关拆分/合并不匹配意味着您应该添加正确的合并或移除异常分支。
    • 任务一端封闭意味着您应该连接到结束事件或下一步。
备注:

每次修复后重新运行验证;目标是实现零错误和最少警告。

将您的图表导出为图像

您可以直接从画布下载任何 BPMN 图表的图像。 这适用于高管报告、利益相关者审核或流程快照存档。

有两种导出方式:

  • Canvas-level export — Open the context menu anywhere on the canvas and select Export as image. The export captures exactly what is currently on screen. If you are inside a collapsed subprocess, the image shows the subprocess contents, not the top-level process.
  • File-level export — Open the context menu for a .bpmn file in the file browser and select Export as image. This always exports the top-level process, regardless of which view is open.

使用 Autopilot 加速(可选)

  • 根据提示或白板图的图像生成初始版本。
  • 寻求有关简化决策集群或添加缺失结束状态的建议。
  • Autopilot 用于附加常见模式(例如,通过升级进行审批)。

更进一步

当您的模型能够清晰读取并通过验证时,您可以继续实施,将步骤绑定到自动化、智能体和人工操作,然后测试并发布。

技巧和模式

  • 明确的开始、明确的结束。避免多次隐式终止。
  • 按照意图命名。任务名称应类似于手册中的步骤。
  • 平衡分支。每次拆分都会进行匹配的明确合并(如适用)。
  • 对“等待”进行建模。对真实世界延迟和交接使用计时器/消息事件。
  • 通道应有明确目标。通道用于阐明所有权,而非作为装饰。

阅读有关 BPMN 模式和实践的更多信息。

用户界面元素

左侧工具栏

Every agentic process starts by default with a Start Event docs image element added to the designer. You can add other elements to your project from the left toolbar.

左侧工具栏包含各种 BPMN 元素,这些元素分为以下类别:

  • 网关
  • 任务
  • Events
  • 数据
  • 参与者

要对智能体流程进行建模,请在左侧工具栏中选择一个元素,然后将其拖放到设计器中。您可以从常用元素列表开始,或选择工具栏底部的“更多选项”按钮,查看完整的受支持 BPMN 元素列表。

元素工具栏

元素工具栏是一个横向菜单,包含您在设计器中选择元素时可执行的操作:

  • Change element 更改元素 - Opens the Change element panel, where you can modify the selected element to a different element.

  • Add end event 添加结束事件 - Appends an End event element to the selected element.

  • Add exclusive gateway 添加排他网关 - Appends an Exclusive gateway element to the selected element.

  • Add task 添加任务 - Appends a Task element to the selected element.

  • Add intermediate event添加中间事件 - Appends an Intermediate event element to the selected element.

  • Add text annotation 添加文本注释 - Appends a text annotation to the selected element.

  • Delete 删除 - Deletes the selected element.

  • Connect 连接 - Brings up the connector tool, with the selected element as the source step.

选择连接时,还会显示工具栏,其中包含以下选项:

  • 添加文本批注 - 将文本批注附加到选定连接。
  • 删除 - 删除选定连接。

边缘工具栏

边缘工具栏包含您在选择特定边缘后可以执行的操作。

  • 添加文本标记:将文本标记附加到选定边缘中,并提供预览。

  • 删除:删除选定边缘。

上下文菜单

The context menu appears when you open the context menu on the designer or an element in the designer.

The following options are available from the canvas context menu:

  • 整理节点整理选定的节点 - 自动重新排列设计器中的所有节点,以提高可读性。

  • 隐藏背景网格 - 隐藏画布背景。您可以通过选择“显示背景网格”,再次显示网格。

  • 显示/隐藏验证错误 - 控制验证错误的可见性。

  • 粘贴 - 粘贴之前复制的 BPMN 元素。

  • 导出为图像 - 下载当前画布视图的图像。

The following options are available from the element context menu:

  • 重命名 - 对元素进行重命名。

  • 复制 - 复制元素。

  • 剪切 - 从设计器中移除元素并将其存储在剪贴板中。

  • 移除 - 从设计器中删除元素。

    Context menu options for a BPMN element

开始事件”元素包含以下附加选项:

  • 测试 - 测试整个智能体流程。

  • 分步测试 - 逐个测试智能体流程中的每个元素。

    Test and Test step-by-step options on the Start Event context menu

验证面板

验证面板是一个规则引擎,用于通过 BPMN 规则和最佳实践验证智能体流程。您可以在设计器左下方访问验证面板。该面板显示流程中发现的验证问题数量。在面板中选择警告或错误后,将会转到设计器中受影响的元素。

验证问题有两种类型:

  • 警告:标记为黄色,显示验证问题并提出建议。

  • 错误:标记为红色,用于测试智能体流程,但无法部署。

选择错误后,您会获得更多的上下文,以及一个转到警告或错误来源的按钮。

缩略图

您可以使用设计器右下角的缩略图快速浏览智能体流程。专用按钮用于:

  • 放大 - 仅显示流程的特定部分。

  • 缩小 - 展开流程视图。

  • 布满创口 - 自动调整流程的大小和位置。

Inside the mini map, you can also select and drag to pan inside the process, and use the mouse wheel to zoom in and out.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新