Tag Management lets you classify data assets using business tags, run statistical analysis across asset groups, and automate governance policy formulation. Each tag consists of a tag key and a tag value. Once defined, tags can be attached to assets for categorization and analysis.
Concepts
Data asset: A data entity in DataWorks related to data development, data governance, data analysis, or data services. Examples include tables, APIs, node tasks, data analysis tasks, quality rules, workspaces, and governance and optimization processes.
Asset tag: A predefined phrase that describes a data asset. Asset tags let you identify key characteristics, group assets into categories, and apply governance policies at the category level.
Tag subtypes:
| Tag subtype | Examples |
|---|---|
| Feature tag | application, business process, critical business, asset loss impact |
| Business organization tag | department, project |
Tag types
DataWorks provides two tag types. Both types are effective at the region level.
| Tag type | Permissions |
|---|---|
| System tag | Read-only. Tenant members can view, attach, and detach system tags, but cannot create, modify, or delete them. |
| Custom tag | Fully manageable. Tenant members can create custom tags and attach or detach them from assets. To modify or delete a custom tag, you must be either the tag owner or a tenant-level Data Governance Administrator. |
Limitations
| Constraint | Detail |
|---|---|
| Maximum tags per asset | 20 |
| Supported asset types | Tables, scheduling tasks, and manually triggered workflows |
| Tag key uniqueness | Tag keys must be unique |
| Create permission | Any tenant member |
| Modify or delete permission | Tag owner or tenant-level Data Governance Administrator |
| Delete prerequisite | Detach the tag from all associated assets before deleting |
To grant the Data Governance Administrator role, see Manage the roles and permissions of tenant members.
Navigate to Tag Management
-
Log on to the DataWorks console. In the top navigation bar, select your region. In the left-side navigation pane, choose Data Governance > Data Asset Governance, then click Go to Data Asset Governance.
-
In the left-side navigation pane, click the
icon and choose All Products > Data Governance > Tag Management.
Create tags
Create a tag
-
On the Tag Definition page, go to the Custom Tag tab and click Create Tag.
-
In the dialog box, configure the following parameters:
Parameter Description Tag value type Data type for tag values. Supported types: String (default), Integer, Float, Boolean. Tag value One or more unique values for the tag. When attaching a tag with multiple values to an asset, select the specific value to attach. If the type is Boolean, only the static values trueandfalseare allowed.Owner The user who creates the tag becomes its owner by default. Owners can modify or delete their tags. -
Click OK.
Add values to multiple tags at once
On the Custom Tag tab, click Quickly Add Tag Value. In the dialog box, select a Tag Key from the drop-down list and add multiple tag values.
Use tags
After attaching tags, use them in Data Asset Governance, Data Map, and Operation Center to collect statistics on business data, query asset details, and run data analysis.
Manage tags
View and edit tag overviews
On the Tag Management page, filter tags by condition. From the results, you can:
-
Modify a tag: Hover over the tag name, click the
icon, and edit the tag. -
Delete a tag: Click the
icon to delete a single tag. To delete multiple tags, select them and click Batch Delete.
Detach a tag from all assets before deleting it.
View tag details
Click a tag name or click View Assets in the Tag Value Actions column to open the Tag Details page. This page shows all tag values and the assets the tag is attached to.
The following operations apply to custom tags only:
Tag Value tab:
-
Modify tag value: Click Modify Tag Value to add tag values or change the tag owner.
-
Delete a tag value: Select the tag values to delete and click Batch Delete.
Detach the tag value from all assets before deleting.
Associated Assets tab:
-
Edit tags: Click the
button in the tag column of the target asset to add, delete, or modify its tag keys and tag values. -
Detach an asset: Click Detach Asset in the Actions column to remove the tag from the asset.