UiPath Documentation
maestro-automate
latest
false
Maestro Automate user guide

End

Configure the End node and its output, and see how it differs from Terminate, with examples.

Returns data as the output of the workflow without affecting other active branches. End fits when one branch of a parallel workflow returns a result while the other branches keep running.

How End differs from Terminate​

Both End and Terminate stop the branch they are placed on. The difference is what happens to the rest of the workflow:

NodeEffect on current branchEffect on other branches
EndStops and returns outputOther branches continue running
TerminateStops immediatelyAll other active branches are canceled

End fits a workflow with parallel branches where one branch returns output while the others complete. Terminate fits when the entire workflow must stop immediately, regardless of what else is running.

Configuration​

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

Output​

The value configured in the Output field becomes the workflow's return value. No node after End can reference it, because End is a terminal node.

Examples​

Return a success result from one branch while an audit branch completes:

In a workflow 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 workflow output without canceling any other processing that may still be in progress.

Next steps​

  • Terminate: stopping the whole workflow immediately.
  • Control flow: the nodes that branch, repeat, and rejoin paths.
  • Merge: waiting for parallel branches.
  • Community: ask questions and share workflows with other builders on the UiPath Forum.
  • How End differs from Terminate​
  • Configuration​
  • Output​
  • Examples​
  • Next steps​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated