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

Background information

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

By using the data analytics mode that involves the workspace, solution, and workflow, DataWorks defines a new development process and improves user experience.
  • A workspace is the basic organizational unit where the development and O&M permissions of users are managed. The code of all nodes in a workspace can be collaboratively developed and managed by workspace members.
  • A solution contains one or more workflows. A solution has the following benefits:
    • A solution can contain multiple workflows.
    • A workflow can be added to multiple solutions.
    • All solutions in a workspace can be collaboratively developed and managed by workspace members.
  • A workflow is an abstract entity of business that enables you to develop data code from a business perspective. A workflow can be added to multiple solutions.
    A workflow has the following benefits:
    • Workflows facilitate business-oriented code development. Nodes in a workflow are organized by 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 and select New folder.
    • You can view and optimize each workflow from a business perspective.
    • You can view each workflow on a dashboard to efficiently develop code.
    • You can deploy and manage 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 edit the workflow in their solutions or workflows for collaborative development.

The node status model defines six states of a node throughout its lifecycle. 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 where the target workspace resides. Find the target workspace and click Data Analytics in the Actions column.
  2. On the Data Development tab, move the pointer over the Create icon icon at the top of the tab and select Solution.
  3. In the New solution dialog box, set the parameters as required.
    New solution dialog box
    Parameter Description
    Solution name The name of the solution. The name can be up to 128 characters in length.
    Description The description of the solution. The description can be up to 256 characters in length.
    Select Business Process The one or more workflows to be added to the solution.
  4. Click New.
    After you create the solution, the solution appears in the Solution drop-down list the Data Development tab. You can perform the following operations on the solution:
    • Double-click the solution. All the workflows in the solution appear. You can click a workflow name to view and edit the workflow. For more information, see Overview.
    • Right-click the solution and select Solution Kanban. The tab that appears displays all the workflows in the solution. You can click Modify solution to modify the configuration of the solution.
  5. Deploy and manage the solution.
    Move the pointer over the solution name. Two icons Deploy icon and O&M icon appear.
    • Click the Deploy icon icon. The Create publishing package page appears. On this page, you can view the nodes that have not been deployed in the solution, and deploy these nodes.1
      For more information, see Deploy a node.
      Note
      • When you deploy a solution, you deploy all the workflows in the solution.
      • A workflow may be reused in multiple solutions. If all the workflows in a solution have been deployed in other solutions, you do not need to deploy the solution again.
      • In a solution, you cannot specify the order in which the workflows are run. You can configure the scheduling properties for nodes in workflows. The nodes are scheduled as configured.
    • Click the O&M icon icon to go to the Cycle Instance page under Cycle Task Maintenance in Operation Center. This page displays recurring instances of all nodes in the current solution.Cycle Instance