---
schema_version: "1"
id: ef26e3b75465376a591b7ba24f027f084addaa55d236c113efb756badd080218
title: Close Web Session
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/6.6/toolbox-web-automation-close-web-session.md
canonical_url: https://docs.mulesoft.com/rpa-builder/6.6/toolbox-web-automation-close-web-session
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 92c3206e92bd28d61a257662c041fe6a07fcb6c88f65f2bd7f1b1aca372b81f8
description: MuleSoft Documentation Site
release: "6.6"
latest: false
---
---
product: RPA Builder
version: 6.6
---

# Close Web Session

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

The Action Step _Close Web Session_ enables you to close a web session.

To do so, the Action Step must be mapped to an existing web session ID, to enable unique
identification of the web session to be closed.

The Action Step _Close Web Session_ can only be placed outside of a web session.

## Properties

**Force error state if session could not be closed** If you activate this option, an error state is
forced if the web session could not be opened or has already been closed. If this option is not set
(default), the error is simply ignored.

## Inbound Variables

**Web Session ID** The web session ID identifies the web session to be closed.

**Force error state if session could not be closed** If you activate this option, an error state is
forced if the web session could not be opened or has already been closed. If this option is not set
(default), the error is simply ignored.

## Outbound Variables

**Web Session closed** Indicates whether or not the web session was closed.
