- 简介
- 入门指南
- 使用 BPMN 进行流程建模
- 使用 案例管理 进行流程建模
- Process modeling with Flow
- 入门指南
- 核心概念
- Node reference
- Build guides
- 最佳实践
- 参考
- 流程实施
- 流程运营
- 流程监控
- 流程优化
- 参考信息
Maestro 用户指南
Returns data as the flow's output without affecting other active branches. Use End when you want to return a result from one branch of a parallel workflow while other branches continue to run.
How End differs from Terminate
Both End and Terminate stop execution on the branch they are placed on. The difference is what happens to the rest of the flow:
| 节点 | Effect on current branch | Effect on other branches |
|---|---|---|
| 结束 | Stops and returns output | Other branches continue running |
| Terminate | Stops immediately | All other active branches are canceled |
Use End when the flow has parallel branches and you want one branch to return output while others complete. Use Terminate when you want to stop the entire flow immediately regardless of what else is running.
配置
| 字段 | 必填 | 描述 |
|---|---|---|
| 输出 | 否 | The value to return as the flow's output. Can be a literal value, a variable reference, or an expression. |
输出
The value configured in the Output field becomes the flow's return value. Downstream nodes in the same branch cannot reference this — End is a terminal node.
示例
Return a success result from one branch while an audit branch completes:
In a flow where one branch handles the primary response and another records an audit log, place an End node at the end of the primary response branch. The audit branch continues running independently.
Return an error result early:
On an error branch, use an End node to return a structured error object as the flow output without canceling any other processing that may still be in progress.