Input and output parameters are used to transmit data between ancestor and descendant nodes. This topic describes how to define and use input and output parameters.
Background information
After you define an output parameter and its value for a node, you can define an input parameter for the descendant node of the node and configure the descendant node to reference the value of the output parameter in the input parameter.
Precautions
Input and output parameters are used together with assignment nodes. Some types of nodes support the assignment parameter. The assignment parameter functions the same as an assignment node. For more information about how to configure the assignment parameter, see the Assignment parameter section in this topic and the topic about how to configure an assignment node.
Configure input and output parameters
Output parameters
You can define output parameters in the Input and Output Parameters section. The following value types are supported for output parameters: Constant and Variable.

Field | Description | Remarks |
---|---|---|
No. | The serial number, which is automatically increased by 1 each time you define an output parameter. | N/A |
Parameter Name | The name of the output parameter. | N/A |
Type | The value type of the output parameter. | Valid values: Constant and Variable. |
Value | The value of the output parameter. | The value type can be Constant or Variable.
|
Description | The description of the output parameter. | N/A |
Add Method | The way in which the output parameter is defined. | Valid values: Added Automatically, Auto Parse, and Added Manually. |
Actions | You can click Change or Delete to perform the related operation. | These two operations are not supported if a node depends on the current node. Before you configure a node to reference the output parameter of the current node, make sure that the output parameter is correctly defined on the current node. |
Assignment parameter

You must add the assignment parameter of the current node as an input parameter of a descendant node of the current node. The assignment parameter can be referenced by using a two-dimensional array in the code. The assignment parameter functions the same as an assignment node in the ODPS SQL language.
Input parameters
An input parameter of a node defines the reference to the output of an ancestor node of the node. The input parameter can be used in the same way as other parameters.
- Define an input parameter
- In the Dependencies section of the Properties tab on the configuration tab of a desired node, add a node
on which the current node depends.
- In the Input Parameters table in the Input and Output Parameters section, define an input parameter and configure this parameter to reference the
output parameter of an ancestor node of the current node.
Field Description Remarks No. The serial number, which is automatically increased by 1 each time you define an input parameter. N/A Parameter Name The name of the input parameter. N/A Value Source The value source of the input parameter. The value of the input parameter is the value of the output parameter of the ancestor node. Description The description of the input parameter. N/A Parent Node ID The ID of the ancestor node. The system parses the ID of the ancestor node. Add Method The way in which the input parameter is defined. Valid values: Added Automatically, Auto Parse, and Added Manually. Actions You can click Change or Delete to perform the related operation. N/A
- In the Dependencies section of the Properties tab on the configuration tab of a desired node, add a node
on which the current node depends.
- Use the input parameter
The defined input parameter is referenced in the code of a node in the same way as other built-in scheduling parameters. The input parameter is configured in the
${Input parameter name}
format. The following figure shows how to reference an input parameter in the code of a Shell node.
Supported built-in scheduling parameters
- Built-in scheduling parameters
Built-in scheduling parameter Description ${projectId} The ID of the MaxCompute project. ${projectName} The name of the MaxCompute project. ${nodeId} The ID of the node. ${gmtdate} The date on which the node instance is scheduled to run, in the yyyy-MM-dd 00:00:00 format. ${taskId} The ID of the node instance. ${seq} The sequence number of the node instance, which indicates the ranking of this node instance among all node instances on the same day. ${cyctime} The time at which the node instance is scheduled to run. ${status} The status of the node instance. Valid values: SUCCESS and FAILURE. ${bizdate} The data timestamp. ${finishTime} The time at which the node instance finishes running. ${taskType} The mode in which the node instance is run. Valid values: NORMAL, MANUAL, PAUSE, SKIP, UNCHOOSE, and SKIP_CYCLE. ${nodeName} The name of the node. - For more information about other parameters, see Overview of scheduling parameters.