You can organize different types of nodes in a workflow based on business types. This way, you can develop code by business. This topic describes how to create, design, commit, and view a workflow.

Background information

A workspace supports multiple types of compute engines and can contain multiple workflows. A workflow is a collection of multiple types of objects. The object types include data integration, data analytics, table, resource, function, and algorithm.

Each type of object has an independent folder. You can also create subfolders in the folder for each type of object. To facilitate management, we recommend that you create a maximum of four levels of subfolders. If the number of levels exceeds four, the structure of your planned workflow may be too complex. We recommend that you split the workflow into two or more workflows and add related workflows to a solution for management to improve work efficiency.

Create a workflow

  1. Go to the DataStudio page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. In the top navigation bar, select the region where your workspace resides, find the workspace, and then click Data Analytics in the Actions column.
  2. Move the pointer over the Create icon and click Workflow.
    Workflow
  3. In the Create Workflow dialog box, set the Workflow Name and Description parameters.
    Notice The workflow name must be 1 to 128 characters in length. It can contain letters, digits, underscores (_), and periods (.).
  4. Click Create.

Design a workflow

Note We recommend that you create no more than 100 nodes in a workflow.
A workflow can contain the following types of nodes. You can design a workflow based on your business needs.

Commit a workflow

  1. After you design a workflow, click the Commit icon in the toolbar.
  2. In the Commit dialog box, select the nodes to be committed, select Ignore I/O Inconsistency Alerts, and then enter your comments in the Change description field.
    Commit
  3. Click Commit.
    Note If a node has been committed and the node code remains unchanged, you cannot select the node. In this case, you can enter your comments and click Commit. The changes that are made to the node, such as property changes, are automatically committed.

View all workflows

On the Data Analytics tab, right-click Business Flow and select All Workflows to view all workflows in the workspace.All workflows
Click a dashboard. The dashboard of the workflow appears.View workflows