Customize quality rule attributes to enhance filtering, classification management, and attribute configuration flexibility. These attributes can be applied directly when establishing quality rules. This topic outlines the process for creating and managing quality rule attributes.
Permission description
Super administrators, quality administrators, and global roles with the necessary permissions can create and manage quality rule attributes.
Instructions for use
Allows for the creation of up to 50 quality rule attributes.
The asset quality module must be active to utilize quality rule attributes.
Create quality rule attributes
Navigate to the Dataphin home page and select the top menu bar Planning.
To access the Create Quality Rule Attribute dialog box, follow the steps below:
Select Attribute Management -> Quality Rules -> Create Attribute.
In the Create Quality Rule Attribute dialog box, fill in the required parameters.
Parameter
Description
Attribute Name
Enter a unique quality rule attribute name, limited to 128 characters.
Is Required
Specify whether this attribute is mandatory. By default, it is set to Yes but can be toggled to No.
Attribute Field Type
By default, the selected type is String/string. The attribute field type dictates the permissible data type for attribute values when establishing quality rules. For instance, a Boolean field type means the attribute can only accept True or False selections during quality rule creation. Available types include:
String: STRING.
Numeric: BIGINT, DOUBLE (up to 6 decimal places).
Boolean: BOOLEAN (True or False).
DateTime: DATE(yyyy-mm-dd), DATETIME(s).
Attribute Value Length
For String types, set the maximum length of the attribute value, up to 2000 characters.
Description
Provide a description for the quality rule attribute, not exceeding 512 characters.
Input Type
When creating quality rules, the input and storage methods for attribute values are influenced by the selected field type. The types of attribute values that can be used vary accordingly:
String: Options include custom input, dropdown single selection, and dropdown multiple selection.
Numeric: Options include custom input, dropdown single selection, dropdown multiple selection, and a specified range.
Boolean: Dropdown single selection is available.
Date: Options include custom input, dropdown single selection, dropdown multiple selection, and a specified range.
A card example diagram is provided to illustrate the different input methods when you are creating quality rules:
Is Searchable
Enable fuzzy search for attributes with Custom Input. The default setting is No, which can be changed to Yes.
Option Values
When using a Dropdown Single Selection Box or Dropdown Multiple Selection Box, you can set the option values. Separate multiple enumeration values with English half-width commas, up to a limit of 10,000 characters.
You can also single click Batch Edit and, in the Batch Edit Enumeration Options dialog box, input enumeration values separated by English half-width commas or carriage returns, up to a maximum of 10000 characters.
Is Filterable
When using a Dropdown Single Selection Box or a Dropdown Multiple Selection Box, you have the option to enable filtering. This determines if the quality rule configuration list can be filtered by this attribute. By default, the setting is No, but it can be changed to Yes.
Default Value
Set a default value for the attribute, which will be pre-filled when creating quality rules. The default value options depend on the field type and input method.
Click OK to finalize the creation of the quality rule attribute.
View and manage quality rule attributes
On the attribute management page, you can view quality rule attribute details and perform actions such as sorting, editing, cloning, and deleting.
Area | Description |
①Filter and Search Area | Perform fuzzy searches by attribute name or filter by Required Attribute. |
②Sorting Area | Determines the display sequence of business attributes during the creation of quality rules. Sort attributes by dragging the icon |
③Quality Rule Attribute List | Lists attributes with details like name, description, requirement status, field type, input method, and default value. Additionally, you can enable, view, edit, clone, or delete attributes.
|
What to do next
Once the quality rule attribute is established, you can incorporate it into new quality rules. For more information, see Create Quality Rules.