The data development mode of DataWorks is upgraded so that you can organize multiple workflows in a solution of a workspace.

Background information

DataWorks upgrades the data development mode to allow you to organize various types of nodes based on the business category. You can organize workflows to analyze data by business.

DataWorks defines a new data development process by using the data development mode that involves workspaces, solutions, and workflows. This helps improve user experience.
  • A workspace is the basic organizational unit in which the development and O&M permissions of users are managed. Workspace members can collaborate to develop and manage all code in a workspace.
  • A solution can contain one or more workflows. Solutions have the following benefits:
    • A solution can contain multiple workflows.
    • Multiple solutions can use the same workflow.
    • Workspace members can collaborate to create and manage all solutions in a workspace.
  • A workflow is an abstract entity of business. A workflow allows you to develop data code from a business perspective. A workflow can be added to multiple solutions.
    Workflows have the following benefits:
    • Workflows facilitate business-oriented code development. Nodes in a workflow are organized by node type. The hierarchical directory structure is supported. We recommend that you create a maximum of four levels of subfolders. To create a subfolder, right-click the node type in the Scheduled Workflow pane of the DataStudio page and select Create Folder.
    • You can view and optimize each workflow from a business perspective.
    • You can view each workflow on a dashboard and develop code in an efficient manner.
    • You can deploy and manage nodes in each workflow as a whole.

A workflow can be added to multiple solutions. After you develop a solution and add a workflow to the solution, other users can reference and modify this workflow in their own solutions for collaborative development.

The node status model defines six states of a node throughout the lifecycle of the node. The following figure shows the logic of status conversion. Node status model

Procedure

  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 in which the workspace that you want to manage resides. Find the workspace and click DataStudio in the Actions column.
  2. On the DataStudio page, click +Create and select Create Solution. In the Create Solution dialog box, configure the parameters.
    Create Solution
    Parameter Description
    Solution Name The name of the solution. The name cannot exceed 128 characters in length.
    Description The description of the solution. The description cannot exceed 256 characters in length.
    Workflows The workflow that you want to add to the solution. You can add multiple workflows to the solution.
  3. After the solution is created, click Solution and perform the following operations:
    • Double-click the solution name to view all workflows in the solution. You can click a workflow name to view and edit the workflow. For more information, see Manage workflows.
    • Right-click the solution name and select Solution Kanban to view all workflows in the solution and all nodes in the workflows. You can click Change Solution to modify the configuration of the solution.
  4. Deploy and manage the solution.
    Move the pointer over the solution name. The Deploy and O&M icons appear.
    • Click the Deploy icon. The Create Deploy Task page appears. On the Deploy Task page, you can view the nodes in the solution that have not been deployed, and deploy the nodes. 1
      For more information, see Deploy nodes.
      Note
      • When you deploy a solution, you deploy all workflows in the solution.
      • A workflow may be reused in multiple solutions. If all workflows in a solution have been deployed in other solutions, you do not need to deploy the solution again.
      • You cannot specify the order in which the workflows are run in a solution. You can configure scheduling properties for the nodes in workflows. The order in which the workflows are run is determined by the scheduling time of the nodes.
    • Click the O&M icon to go to the Cycle Instance page under Cycle Task Maintenance in Operation Center. The Cycle Instance page displays the auto triggered instances of all nodes in the current solution. Cycle Instance