activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow Activities

Last updated Aug 7, 2025

Return

UiPath.Core.Activities.Return

The return activity terminates a workflow at a specific point without throwing an error, which allows you to execute only part of a workflow to better control the workflow execution.

The out arguments are returned as they are at the moment the return activity is invoked.

Important:

Using the Return activity inside a Library project skips all remaining operations in both the Library and Main workflows. This is because, during execution, the Library workflow is merged into the Main workflow.

  • Return

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.