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

# 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.
