This topic describes how to use script nodes.
This topic describes how to use script nodes.
Go to Application Center > Flow Orchestration > New Flow and click Script Node.
A script node provides simple code development capabilities for developers. The code runs on a free Function Compute instance in your account. It currently supports JavaScript and Python. The code within a script node is encapsulated in a function. A return statement is used to output the function's result, which can be used in subsequent steps.
Supported types: JavaScript and Python.
You can specify the name of the variable returned by the function body. If you do not specify a name, the default name is fcResult.
For example,
You can enter a code snippet in a script node. The code is encapsulated and executed in a function. Therefore, the script must return the results as variables at the end, and the variables can be used in the subsequent process.
Node interface
Go to Application Center > Flow Orchestration > New Flow and click Script Node.

Node description
A script node provides simple code development capabilities for developers. The code runs on a free Function Compute instance in your account. It currently supports JavaScript and Python. The code within a script node is encapsulated in a function. A return statement is used to output the function's result, which can be used in subsequent steps.
Configuration page
