---
title: "Set Global Variable Step"
url: "https://docs.robotiq.ai/en/article/set-global-variable-step"
language: "en"
last_updated: "2025-12-25T10:49:16.089Z"
---

# Set Global Variable Step

The Set Global Variable Step lets you change the value of a global variable in your process. Use it to update shared data that other parts of your automation might need.

## How to Use the Set Global Variable Step

Use this step to change an existing global variable.

### Step 1: Add the Step to Your Process

1.  Drag and drop the **Set Global Variable Step** into your process flow.
2.  Click on the step to open its properties.

### Step 2: Configure the Variable

1.  In the step properties, pick the **Global variable** you want to edit from the dropdown list.
2.  Type in the new **Variable value**. This can be a set value or another existing variable.

**Important:** The global variable you choose must be able to change and have a process scope.

## Parameters Explained

**Step Name** (Optional)

-   A custom name for this step in your process.
-   Example: "Update User Status"

**Global variable** (Required)

-   The name of the global variable you want to change.
-   This variable must be set up to be changeable and have a process scope.
-   Example: `userStatus`

**Variable value** (Required)

-   The new value you want to give to the global variable.
-   You can type in a set value (e.g., "Active") or choose another variable whose value will be used.
-   Example: `"LoggedIn"` or `currentStatusVariable`

## Related Articles

-   [Global variables](https://docs.robotiq.ai/en/article/global-variables)
-   [Define Variable Step](https://docs.robotiq.ai/en/article/define-variable-step)
-   [Set Variable Value Step](https://docs.robotiq.ai/en/article/set-variable-value-step)

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/e3ecc7ad-7b64-4305-b567-4271c8973013)
