Global Variable

You are currently viewing the documentation for a pre-release version (2.2.0). To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Description

A global variable can be accessed and used by all projects under the same solution. It enables data sharing across different projects for consistent data management and transfer.

Usage Scenario

This Step is used in scenarios requiring data sharing across different projects.

Input and Output

Input

Input port Data type Description

Data to Save

Abstract[]

Output from another Step. You can store the data in a global variable.

Output

This Step has no output ports.

Parameter Description

Parameter Description

Variable Name

The variable name is the unique identifier of the global variable. Click the Open the editor button to manage global variables in the current solution in the Global Variable Management window, where you can perform actions such as adding or deleting variables.

To save data to a new variable, open the editor and add a variable first. To retrieve data from an existing variable, select an existing variable.

Operation

Select whether to save data to the variable or retrieve data from the variable.

  • Save: When this option is selected, the Step will display an input port for connecting to an output port of another Step to save data to the variable.

  • Retrieve: When this option is selected, the Step will display an output port for connecting to one or more input ports of other Steps, so as to retrieve data from the variable.

Retrieve All

Once this parameter is selected, all data stored in variables can be retrieved at once.

Only visible when the operation type is Retrieve and the variable mode is Queue.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.