---
schema_version: "1"
id: 79feb5b9d61cde3b400214776d0a6b25c06ebb57fc6bbac530407cfb03a8fcd7
title: Session Based Variables
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/toolbox-variable-handling-session-based-variables.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-session-based-variables
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2317749d37da5a7756153dc7c6e2881c8e95e02e5f2264a6706e98787fe3f5f0
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# Session Based Variables

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

Use Session Based Variables to share variables accross all workflows that run inside the same
session.

You can define session variables of the following types:

- Alphanumeric

- Integer

- Floating-point

- Boolean

- Array

- User account

- Web Session ID.

Use the Set Variable and the Set Array Variable action steps to overwrite the initial variable
values with new values at a later point in the Workflow.

You can include only one instance of Session Based Variables in a Workflow and it must be in the
Workflow Initialization section.

## Properties

See [Common Properties](https://docs.mulesoft.com/rpa-builder/latest/common-properties).

## Inbound Variables

This action step has no inbound variables.

## Outbound Variables

All Session Based Variables are outbound variables. Variables are specified in the format _Workflow
Based Variables.<variableName>_.

Session Based Variables show in Variable Mappings only for action steps that support that type of
variable.

## Wizard

To create new variables:

1.  Click **Add new parameter**.

2.  Select the type of variable to create.

3.  Specify the variable’s name, description, and value.

4.  Click **OK**

To delete variables, click the **Delete Variable** (![2%](/mulesoft/current/en-us/rpa-builder/latest/_images/delete-icon.png)) button.

## Sharing Session Based Variables Between Workflows

To share Session Based Variables, create the variables in each workflow using the same variable name
and type. When a workflow updates a variable, any successive workflow that reads the same variable
uses the updated value of said variable.

## See Also

- [Workflow Based Variables](https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-workflow-based-variables)

- [Set Variable](https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-set-variable)

- [Set Array Variable](https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-set-array-variable)
