Configure dynamic variables for nodes

更新时间:
复制 MD 格式

When you configure a service node, you can use built-in dynamic variables to access data from upstream and downstream nodes. This topic explains the configuration rules.

You can use the following built-in variables in a node's parameters to access parameters from other nodes in the workflow. For example, usequery.cityId to access the cityId parameter of the starting node.

For example, when an HTTP request node is connected to a Cloud Marketplace API node, you can reference a variable within a JSON object in the Cloud Marketplace API node's API Configuration > Parameters section, as shown in the following example: {"cityId":"{{query.cityId}}"}.
Parameter Description Example format
payload References an output parameter from the preceding node. {{payload.contain}}
query References a parameter from an HTTP request node or the starting node. {{query.contain}}
node References the output of a specific node by using its node ID. {{node.node_111.contain}}