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

Workflow Activities

Last updated Dec 20, 2024

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.

Was this page helpful?

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