Create a group with one-stop selection
In Dataphin, you can create groups by configuring conditions based on behavioral relationships, tags, and other groups. This topic describes how to create a group using one-stop selection.
Prerequisites
Before you create a group using one-stop selection, you must create the corresponding entity. For more information, see Create and manage entities.
Procedure
On the Dataphin homepage, choose tag > Tag Workbench from the top navigation bar.
From the top navigation bar, select a project. In the left-side navigation pane, choose Group Processing > Group Management.
On the Group Management page, click the Project Groups tab.
On the Project Groups tab, click Create Group.
In the Create Group dialog box, click one-stop selection.
On the Create Group (one-stop selection) configuration page, configure the group's basic information in Step 1.
Parameter
Description
Group name
Enter a name for the group. The name can be up to 64 characters long and can contain Chinese characters, letters, digits, and underscores (_).
Group code
The unique identifier for the group. This code helps you locate the group when you create online services. The code can contain letters and underscores (_) and must be up to 64 characters in length.
Group update method
Specifies how the group is updated. You can select scheduled update or manual update.
scheduled update: The system automatically updates the group at specified intervals.
manual update: You update the group manually.
Owner
Select an owner for the group.
Description
Enter a brief description of the group. The description can be up to 1,000 characters in length.
Click Next.
On the Create Group (one-stop selection) configuration page, configure the group's selection logic in Step 2.
Parameter
Description
Version
Enter a version name. The name can be up to 64 characters long and can contain letters, digits, underscores (_), hyphens (-), and periods (.).
Entity
Select the entity for which you want to create the group.
Entity ID
Select the entity ID.
Selection configuration
Define the group by selecting tags (from within the project or your requested tags), behavioral relationships, and other groups, and then configure their conditions. The conditions support AND and OR logic. When you drag one condition over another, a conditional relationship is formed.
Tags: Supports all tags, project tags, and requested tags. You can click Tag Marketplace at the bottom to find or request more tags.
Click a tag name to Configure Conditions and view its details.
Configure Conditions: The supported conditions vary based on the tag's value type, as described below:
Long integer value type: Equals, Not equal to, Greater than or equal to, Greater than, Less than or equal to, Less than, Is not empty, Is empty, In range, Not in range.
String value type: Equals, Not equal to, Is not empty, Is empty, In range, Not in range, Fuzzy match, Not a fuzzy match.
Is not empty and Is empty: You can choose from NULL (the value is missing and no data is written), an empty string (the value is an empty string with a length of 0), or whitespace characters (the value contains only spaces, tabs, or newline characters and is empty after trimming).
List value type: Contains, Does not contain.
Boolean value type: Equals, Not equal to.
Date value type: The relationship supports Fixed time and Dynamic time.
Fixed time: Supported relationships include Not equal to, Greater than or equal to, Greater than, Less than or equal to, Less than, Is not empty, Is empty, and Between.
Dynamic time: Dynamic time is relative to the task execution time. Supported relationships include Is not empty, Is empty, Earlier than, Earlier than or equal to, Later than, Later than or equal to, and Between.
When you select Before, On or before, After, or On or after, you can select Past or Future and enter 0 or a positive integer for the number of days, such as
Future 30 daysandPast 365 days.
If the tag corresponds to a behavioral relationship field that has a code table configured, you can select values from a drop-down list.
Tag Details: Displays the tag's associated entity, category, publication time, value type, update method, and owner. If the tag value distribution display is enabled and the tag has been published, the Value Preview area shows a statistical distribution chart of the tag values.
Click View More Details to go to the Tag Assets > Tag Details page for more information about the current tag.
Behavioral relationship: Click a behavioral relationship name to configure its behavior.
Behavior time: Supports Specific time period and Dynamic time period.
Specific time period: A time range from one day to another, accurate to the second.
Dynamic time period: You can select from Last, This year, This month, and This week.
Last: You can select 7 days, 30 days, 90 days, 180 days, or Custom. If you select Custom, you must enter a positive integer within 7,305 (20 years).
This Year: The default time range is
Current Year-01-01 00:00:00~Current Year-12-31 23:59:59, for example,2025-01-01 00:00:00~2025-12-31 23:59:59.This month: When you select this option, the default time range is
First day of the month 00:00:00~Last day of the month 23:59:59, for example,2025-01-01 00:00:00~2025-01-31 23:59:59.This week: When selected, the default time period is
the current week from 00:00:00 on Monday to 23:59:59 on Sunday, for example,2025-01-06 00:00:00 to 2025-01-12 23:59:59.
Calculation rules and Filter conditions: You can calculate and filter based on conditions such as behavioral attributes, behavior object attributes, behavior object tags, behavior subject attributes, and behavior subject tags. For conditions that have a configured code table, the following filter criteria are supported:
Single selection: Equals, Not equal to, Greater than or equal to, Greater than, Less than or equal to, Less than.
Multiple selection: In range, Not in range.
No selection: Is empty, Is not empty.
Manual input: Fuzzy match, Not a fuzzy match.
Groups: Click a group name to add it as a condition. You can click Group Marketplace at the bottom to go to the Tag Marketplace to find or request more groups.
NoteYou can configure up to 5 levels of nested conditions and a total of 10 conditions (tags, behavioral relationships, and groups combined).
Click Submit to create the group.
After the group is created, you must publish it before you can use it. In the group management list, click the
icon in the Actions column to publish the group.In the Publish Group dialog box, select the group version that you want to publish.
Click OK to publish the group.
Before publishing, you can click Compare Versions to view the information and differences between versions. This helps you verify and confirm the details before publication.
What to do next
After you create and publish a group, you can add it to the corresponding marketplace for management and use it in subsequent tag development. For more information, see Manage groups.