All Products
Search
Document Center

DataWorks:Node or workflow deployment

Last Updated:Mar 24, 2025

This topic describes how to use a deployment process to deploy the creation, update, or deletion operation on a node or workflow to the production environment.

Background information

The DEPLOY tab in Data Studio is used to manage the deployment and undeployment of nodes or workflows to or from the production environment. It provides a precheck operation that allows you to specify custom check items for nodes or workflows before the deployment to strengthen management of the nodes or workflows in the scheduling system. If you create a node in a workflow, you can deploy the creation operation to the production environment through the DEPLOY tab. This way, the node can be automatically scheduled to run. If you update the task codes, you can deploy the update operation to the production environment only after the update is complete in Data Studio. This ensures the stability of tasks and the compliance of operations on tasks and prevent the task codes from being modified.

Prerequisites

Nodes and workflows that you want to deploy are successfully debugged. Scheduling settings are configured for auto triggered workflows and auto triggered tasks.

Precautions

  • The time when a task is deployed affects the time when the instances that are generated for the task take effect. If you deploy a task during the period from 23:30 to 24:00 on the current day, instances that are generated for the task take effect on the third day after the deployment.

  • You must be granted the required permissions if you want to deploy a node or workflow. Only users who are granted the O&M permissions can deploy nodes or workflows.

  • You can manage a node or workflow deployment process. Whether a deployment operation is successful depends on the permissions of the role that is used to perform the operation and the check items specified in the deployment process. If the deployment operation fails, you can check the status of the node or workflow on the DEPLOY tab.

Deploy a node or workflow

  1. Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose Shortcuts > Data Studio in the Actions column.

  2. Go to the configuration tab of the node or workflow.

    On the Data Studio page, find the node or workflow that you want to deploy and click the node or workflow name to go to the configuration tab of the node or workflow.

  3. Deploy the node or workflow.

    Click Deploy in the top toolbar of the configuration tab of the node or workflow. The DEPLOY tab appears. You can deploy the node or workflow to the development environment or production environment.

    • When a node is deployed to the development environment in a deployment process, the system automatically generates a node ID. You can debug and run the node in Operation Center in the development environment.

      Important

      Tasks cannot be automatically scheduled to run in Operation Center in the development environment. Auto triggered instances cannot be generated for tasks on the Auto Triggered Nodes page in Operation Center in the development environment.

    • When a node or workflow is deployed to the production environment in a deployment process, the node is periodically scheduled in the production environment. You can view and perform O&M operations on the node in Operation Center in the production environment.

Undeploy the node or workflow

  1. Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose Shortcuts > Data Studio in the Actions column.

  2. Delete the node or workflow.

    On the Data Studio page, find the node or workflow that you want to delete and right-click the node or workflow name and select Delete. The following situations may occur:

    • If the node or workflow that you want to delete is not deployed to the production environment: In the message that appears, click Delete. The node or workflow is removed from the directory tree and moved to the recycle bin in Data Studio.

    • If the node or workflow that you want to delete is deployed to the production environment: In the message that appears, click Go to Undeploy. The deletion operation takes effect only after you deploy the deletion operation to the required environment.

      1. When the undeployment process arrives at the Dev Offline step, the node is retained in the directory tree. The node ID is removed and a version record about the undeployment from the development environment is generated.

      2. When the undeployment process arrives at the Prod Offline step, the undeployment operation is deployed to the production environment. The task in the production environment is also undeployed. When the Prod Offline step is complete, you can determine whether to delete the node from the directory tree.

View the deployment history of the node or workflow

You can click the image icon on the DEPLOY tab to view the deployment history of the node or workflow.

What to do next: Task O&M

After you deploy the node or workflow, you can click Backfill Data or Perform O&M in the deployment process to perform the corresponding operation.

  • Backfill Data: You can only backfill data for the current node. You can go to Operation Center to perform complex data backfill operations. For more information, see Backfill data and view data backfill instances (new version).

  • Perform O&M: After you deploy the node or workflow, you can view the status of the node or workflow in Operation Center or manually trigger the node or workflow to run. For more information, see Operation Center.