All Products
Search
Document Center

Dataphin:Create and manage quality rule attributes

Last Updated:Jan 21, 2025

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

  1. Navigate to the Dataphin home page and select the top menu bar Planning.

  2. To access the Create Quality Rule Attribute dialog box, follow the steps below:

    Select Attribute Management -> Quality Rules -> Create Attribute.

  3. 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:

      image

    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.

  4. 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.

image

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 image.png adjacent to the attribute name, or use the operation column icons to move the attribute up, down, to the top, or to the bottom. The icons, from left to right, represent: move up, move down, move to top, move to bottom.

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.

  • Enable: Activating an attribute makes it available for use in quality rules. Disabling hides it from rule details without purging configured content, which can be restored upon re-enabling. However, editing a disabled attribute will purge its previously configured values.

  • View: Inspect the details of an attribute.

  • Edit: Modify an attribute's configuration. Post-editing, ensure that existing quality rules align with the new specifications and adjust them if necessary.

  • Clone: Create a new attribute using the information from an existing one.

  • Delete: Removes the attribute and purges its values from all associated quality rules, which is irreversible. Evaluate the implications before proceeding.

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.