The data analytics mode of DataWorks is upgraded so that you can group multiple workflows in a solution of a workspace.
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.
- 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.
- Go to the DataStudio page.
- Log on to the DataWorks console.
- In the left-side navigation pane, click Workspaces.
- 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.
- On the Data Development tab, move the pointer over the icon at the top of the tab and select Solution.
- In the New solution dialog box, set the parameters as required.
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.
- 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.
- Deploy and manage the solution. Move the pointer over the solution name. Two icons and appear.
- Click the 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.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 icon to go to the Cycle Instance page under Cycle Task Maintenance in . This page displays recurring instances of all nodes in the current solution.
- Click the 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.