Workflow parameters let you set a single value that propagates to the same parameter across all supported nodes in a workflow — so you update it once, not node by node.
When you run a workflow that has workflow parameters configured, DataWorks prompts you to assign a value to each parameter before the run starts. That value overwrites the corresponding parameter value on every supported node in the workflow.
Prerequisites
Before you begin, ensure that you have:
A workflow (auto triggered or manually triggered). See Create an auto triggered workflow and Create a manually triggered workflow
At least one supported node in the workflow with a parameter configured. See DataWorks nodes
Supported node types
Workflow parameters work with the following node types:
| Node type | Category |
|---|---|
| ODPS SQL nodes | ODPS |
| EMR Spark Shell nodes | EMR |
| EMR Spark nodes | EMR |
| EMR Shell nodes | EMR |
| EMR Hive nodes | EMR |
| EMR MR nodes | EMR |
| EMR Presto nodes | EMR |
| EMR Trino nodes | EMR |
| EMR Spark SQL nodes | EMR |
| EMR Spark Streaming nodes | EMR |
| EMR Streaming SQL nodes | EMR |
| Hologres SQL nodes | Hologres |
Usage notes
| Behavior | Details |
|---|---|
| Value overwrite | If a workflow parameter shares the same name as a node parameter but has a different value, the workflow parameter value overwrites the node parameter value. |
| Auto-load on open | After you save a workflow parameter, opening any supported node in that workflow automatically loads the latest configuration into the node's parameter list and makes the node editable. |
| Scheduling requires deployment | For the workflow parameter to apply in scheduled runs, commit and deploy the workflow after configuration. |
| Restricted value format | Do not use the ${English word}: format for parameter values or expressions — for example, var:1 and ${var}:1 are not valid. |
Configure a workflow parameter
This example replaces the value 20230613 of the ReplaceMe parameter with 20230615 on an ODPS SQL node in an auto triggered workflow.
Step 1: Open the workflow parameter configuration
Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose Data Development and Governance > Data Development. Select the desired workspace from the drop-down list and click Go to Data Development.
In the Scheduled Workflow pane, find the desired workflow and double-click its name.
In the right-side navigation pane of the workflow configuration tab, click Workflow Parameters.

Step 2: Set a parameter on the node
Double-click the ODPS SQL node to open it.
On the Properties tab, go to the Parameters section. Enter
ReplaceMeas the parameter name and set its value to20230613. For details on configuring node parameters, see Configure scheduling parameters.
Step 3: Set the workflow parameter
On the workflow configuration tab, click Workflow Parameters in the right-side navigation pane.
On the Workflow Parameters tab, set Parameter Name to
ReplaceMeand Value/Expression to20230615. To add more workflow parameters, click Add.
Save the configuration. The
ReplaceMeparameter value on the ODPS SQL node is now overwritten with20230615.
Verify the configuration
Run the workflow to confirm the parameter replacement works.
In the top toolbar of the workflow configuration tab, click the
icon.In the Enter parameters dialog box, assign
20230615toReplaceMeand start the run.After the run completes, right-click the ODPS SQL node and select View Log. Confirm that the value of the
ReplaceMeparameter of the ODPS SQL node has changed from20230613to20230615. For more run options, see Debugging procedure.
Apply in production (commit and deploy)
After verifying the configuration, commit and deploy the workflow so the parameter applies in scheduled runs.
Commit the workflow: Click Submit in the toolbar. In the Commit dialog box, select the nodes to commit and fill in the Change Description.
NoteIf code review is enabled, the selected nodes must pass review before deployment.

Deploy the workflow: For workspaces in standard mode, click the Deploy icon in the upper-right corner after committing. See Deploy nodes for details.
What's next
Configure scheduling parameters — learn more about node-level parameter configuration
Debugging procedure — explore other ways to run and test your workflow
Deploy nodes — understand the deployment process for scheduling