UiPath Documentation
maestro
latest
false

Maestro user guide

End

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:

NodeEffect on current branchEffect on other branches
EndStops and returns outputOther branches continue running
TerminateStops immediatelyAll 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.

Configuration

FieldRequiredDescription
OutputNoThe value to return as the flow's output. Can be a literal value, a variable reference, or an expression.

Output

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.

Examples

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.

  • How End differs from Terminate
  • Configuration
  • Output
  • Examples

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated