TO VARIABLE

This operator collects the stream and stores it into a graph variable. You can then use this variable within the expressions of other operators.

For any operator in the current Processing graph, you can use this operator with @variable_name in the operator expressions. The execution of the service is only possible if there is no dependency cycle between these variables.

Warning: This mechanism can lead to accumulation or to the re-execution of a graph part. This can increase memory usage and impact performance. However, use variables when required, as there is no better way to optimize the configuration.

This page discusses:

See Also
Expression Language
Defining and Managing Data Queries

Configuration

Parameter Type Comment
Expression String Name of the graph variable that will be created. The name must not include @

Input

There is one Input. There are no constraints on the element type. The stream can contain more than one element (elements will be collected into an array).

Output

No Output stream. This operator creates a graph variable.

Example

You can store information into a variable to reuse it in another operator.