All Products
Search
Document Center

Dataphin:Configure real-time mode variables

Last Updated:Jun 04, 2026

Assign values to variables in a computing task so they are automatically substituted at runtime. This topic uses Flink SQL as an example.

Procedure

  1. On the Dataphin home page, choose Development in the top menu bar. The Data Development page opens.

  2. Select the target task as shown below to open the Configuration panel.

    image.png

  3. In the Variable Configuration section, configure task parameters.

    The code editor preloads existing parameters. Add parameters using the Expression format: ${variable_name}. You can also change the parameter type or assign values in the Variable Configuration list.

    image.png

    Note

    Select one or more parameters, then click image.png to batch-edit the parameter type.

    Parameter

    Description

    Parameter Name

    The parameter name defined in the code editor. Supports letters, numbers, underscores (_), dots (.), and hyphens (-). Maximum 32 characters.

    Parameter Type

    Includes global variables, space name variables, local variables, and non-variable types. For more information, see Variable classification and assignment.

    Parameter Value

    • Global Variable: Inherits the value from the global variable definition. Cannot be manually set. Create a global variable.

    • Space Name Variable: Value is the space name. Cannot be converted to other types.

    • Local Variable: Up to 258 characters. Can be left empty.

    • Non-variable: Cannot be defined.

  4. Click OK to save the Variable Configuration.