Set a variable value

更新时间:
复制 MD 格式

1. Component overview

Note

Prerequisite components: None

Use this component to set a variable value.

2. Inputs

Note

For information about each input, see the help text in the component pane of the application flow editor.

3. Outputs

Note

For information about each output, see the help text in the component pane of the application flow editor.

4. Component example

4.1. Configuration example

  1. For Variable, select the existing variable named 'log'.

  2. For Value, enter 'test'.

4.2. Example result

None

5. Flow example

Build the flow

  1. Use the Set Variable Value component to set the value of a specific variable.

  2. Use the Record Log component to print the value of the specified variable.

Execution result

After the flow runs successfully, the specified variable value is automatically printed to the log pane, as shown in the following figure.

image