---
schema_version: "1"
id: ff00917e031c706fa4048c83825cb718968039d5d12982ce29e52c06e0fd5b86
title: Exit Workflow
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/6.6/toolbox-general-exit-workflow.md
canonical_url: https://docs.mulesoft.com/rpa-builder/6.6/toolbox-general-exit-workflow
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f28598a38e7bbb24b8aa2aa7704d8815a4751af7f153bcbfb48cb2f077c15993
description: MuleSoft Documentation Site
release: "6.6"
latest: false
---
---
product: RPA Builder
version: 6.6
---

# Exit Workflow

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The _Exit Workflow_ Action Step allows you to end a Workflow in a controlled manner. Use it to end
the Workflow with precision at a certain point. This means that even if you have entered possible
retries in _Workflow Properties_ or in the _Workflow Wizard_ under _Workflow Exec Tries_ these will
be disregarded. As a result you can define exit points anywhere. This function is mainly required in
the RPA environment.

## Properties

The _Exit Workflow_ Action Step has precisely one property. This can be set either under Properties
or directly within the wizard:

**Exit severity**

This is where you define the status for the Workflow that you are ending. You can choose between OK
and Error. The default is Error.

- _Error:_ In this case the exit code 120 will be shown. In RPA Manager, for example in the Schedule
  Run Results_,_ this Workflow is shown as failed (red). In the Workflow Run Results in RPA Builder
  it will be noted that this involves a user exit.

- OK: In this case the exit code 500 will be shown. Unlike with the error status, here the Workflow
  is deemed to have ended successfully. In RPA Manager there will be a warning (yellow) shown for
  it. As in a normal case, there will be a check whether timers/checkpoints could not be measured.
  The Workflow Run Results in RPA Builder will be annotated accordingly.

For a description of exit codes, please see **Section Exit Codes**.

## Inbound Variables

The _Exit Workflow_ Action Step possesses no inbound variables.

## Outbound Variables

The _Exit Workflow_ Action Step possesses no outbound variables.

## Wizard

See [Properties](#properties).
