Introduction
A global variable can be configured as an in-memory source in Jitterbit. This lets the global variable be used anywhere that a source can be.
Creating a Global Variable Source
You can choose to create a new Global Variable source on its own, or within an existing operation. For more information on how sources work within operations, see Creating an Operation. For details on global variables, see Global Variables.
Creating a New Global Variable Source as a Standalone Source
Within your project in Jitterbit Design Studio, you create a new Global Variable source by any of:
In the popup, select Global Variable as the type:

Your new source appears in its own New Source tab in the right pane of the window.
Creating a New Global Variable Source in an Existing Operation
A source is usually created by default when you create a new operation. (The exception is an operation that consists only of a script.) With an existing operation, you can specify the type of its source by:
In the configuration screen that appears, use the Type dropdown to select Global Variable, as shown above.
Using an Existing Global Variable Source in an Existing Operation
To use an existing Global Variable source in an existing operation with a source, you can set it by any of:
Within the operation, double-clicking on the source icon, and in the resulting popup, selecting the desired Global Variable source from the list; or
Within the operation, right-clicking on the source icon, choosing Select Existing Source, and in the resulting popup, selecting the desired Global Variable source from the list; or
- Dragging the desired Global Variable source from the tree on the left and dropping it onto the existing source icon of the operation.
Configuring a Global Variable Source
After you have created a Global Variable source, the configuration screen will open in the main view of Design Studio. You can return to the configuration screen at any time by double-clicking on the source icon in the operation, or by double-clicking on the source in the tree on the left.
The configuration screen will appear similar to this example:

- Name: Enter an appropriate, unique name for the source.
- Type: Use the dropdown to select Global Variable, if it is not already specified.
- Global Variable:
- Variable: Enter the name of the global variable you want to use; either a name for a new global variable or the name of an existing global variable. If a new name is entered, the global variable will automatically be created.
- To see a list of existing global variables, either double-click in the field entry area or type a single open square bracket (
[
). You can then choose one of the existing global variables. - Global variable names can be specified in this field with or without square brackets as of Harmony version 8.22.0.