A node group bundles frequently used nodes from a workflow into a reusable component. Reference a node group in other workflows to quickly clone all its nodes in batches while preserving their configurations.
Prerequisites
Before you use node groups, create a workflow and add the required nodes. For more information, see Create a workflow and Data Studio overview.
Usage notes
-
When you reference a node group, the configurations and dependencies of the nodes within the group remain unchanged.
-
If a node group contains Platform for AI nodes, you must recreate the experiments for those nodes when you reference the node group in another workflow.
-
If you reference a node group that contains a branch node, the system automatically appends a numeric suffix to the Associated Node Output field of the cloned branch node. This field is located under .
Create a node group
-
Go to the DataStudio page.
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Data Development.
-
In the Business Flow pane on the left, double-click the target workflow to open its configuration tab.
-
Create a node group.
-
Generate the node group.
You can select specific nodes to generate a node group based on your business requirements, as follows.
Click the Box Selection Tool icon in the toolbar.
Select the desired nodes by dragging a selection box on the canvas.
In the Create Node Group dialog box, enter a name for the node group and click OK.
-
Save the node group.
After the node group is generated, you must save it to complete the creation. Only saved node groups can be referenced by other workflows.
In the dialog box, enter a name for the node group and click OK.
After saving, the node group appears in the Node Groups directory on the left.
-
Reference a node group
After you create a node group, reference it in other workflows to quickly clone its nodes. Double-click the target workflow to proceed.
-
When you reference a node group, the configurations and dependencies of the nodes within the group remain unchanged.
-
If a node group contains Platform for AI nodes, you must recreate the experiments for those nodes when you reference the node group in another workflow.
-
If you reference a node group that contains a branch node, the system automatically appends a numeric suffix to the Associated Node Output field of the cloned branch node. This field is located under .
In the Node Groups list on the left, drag the target node group to the canvas area on the right. All nodes and their dependencies in the node group are automatically generated.
After you reference the node group, submit and deploy the workflow to the production environment. You can then view the cloned node details in Operation Center.
Split a node group
To reorganize nodes within a group, split the current node group first. You can then select a new set of nodes to create a new group.
Splitting affects only the selected node group on the canvas and does not change the saved version in the list.
Right-click the target node group and choose Split Node Group from the context menu.
Delete a node group
You can delete an entire node group or specific nodes within it, as follows.
Deleting a node group permanently removes all nodes within it.
Delete a node from a node group: Right-click the target node and choose Delete Node.
Delete a node group: Right-click the node group and choose Delete Node Group.