---
schema_version: "1"
id: 4f4465ccdbf49f5430c8da76a4475f44fb27beebc6e4e6bf0c08191ad733738b
title: Using Variables
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/advanced-concepts-using-variables.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/advanced-concepts-using-variables
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 500fdfbd424c87575d0c0099ff4c0e2dab59288c55fa54bce2768f67f2c4519f
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# Using Variables

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

Variables are powerful tools that allow you to save and use values throughout your Workflow. You can
predefine variables (the _Login Data_ in your _Workflow_ for example) or create variables at runtime
(by using _Read Clipboard_ for example) and then use these variables within other action steps.
Think of a variable as a placeholder for any text/numeric constant, or value. When creating the
_Workflow_, you can create variables and use them as placeholders. During execution, these variables
will be resolved to the value you gave them or that you want to assign to during execution. For
example, if _Read Clipboard_ is used, then the clipboard content at that point during execution will
be transferred to a variable and any action step referencing that variable will then use the value
transferred.

## Pin Variables

Pin variables are used by creating a mapping between one set of action step properties and another
action step variable. If this option is available, a little pin will be shown on the action step
that can be mapped to:

![Example Pin](/mulesoft/current/en-us/rpa-builder/latest/_images/advanced-concepts-using-variables-pin-variables-image1.png)

In the example above, _Read Clipboard_ provides a variable which can then be subsequently used by
_Ping_. This is indicated by the pin icon on the right-hand side of the _Ping_ element. Click on the
pin to open the _Edit Variable Mappings_ wizard:

![Edit Variable Mappings wizard](/mulesoft/current/en-us/rpa-builder/latest/_images/advanced-concepts-using-variables-pin-variables-image2.png)

Here you can see a list of all _Ping_ properties that can be mapped to. Each property has an
adjacent drop-down box containing all variables which can be mapped to the associated property. To
map a variable, simply select it from the drop-down box. The variables which can be allocated may
change depending on the position of the action step. A variable can only be allocated to the
property "Suffix" within a configured _File Controlled Loop_. Other variables are limited to one
_Transaction_. This limitation can be overcome using the _Variable_ action step. When you close the
wizard, you will see that there is now an active mapping, indicated by a black pin:

![Example black pin](/mulesoft/current/en-us/rpa-builder/latest/_images/advanced-concepts-using-variables-pin-variables-image3.png)

You can also view a list of all other action steps that a particular action step has taken variables
from.

To do this, open the context menu for the action step of interest by right-clicking on the
_Workbench_, then select the entry _Mapped to action step_. The list will be displayed as a
sub-menu.

![List Mapped to action step](/mulesoft/current/en-us/rpa-builder/latest/_images/advanced-concepts-using-variables-pin-variables-image4.png)

Clicking on an element in this sub-menu will take you directly to the corresponding action step.
