Simple Mode of Creating Rules¶
Creating Quality Rules¶
Before you start:
Make sure that draft mode is enabled and draft is selected.
Make sure that the “Quality Rules” tab is active in the “Data Quality” section.
To create a quality rule:
Select the required entity/lookup entity from the list on the left side of the screen.
Select the attribute of the entity/lookup entity for which the rule will be created.
As a result of the action, a table with rules will open to the right of the attribute list. If there are no rules on the selected attribute, the table will be empty.
In the menu that appears, select the required type of quality rule: Validation or Enrichment. Creating rules with both types at once is available only in advanced mode.
On the last step, click “Confirm” to save the changes.
After all the data is entered and saved, publish the draft:
Click the “Publish” button at the bottom of the “Data Model” list.
In the window that opens, select the publication method: simple or publication with priority.
Confirm the selection.
Figure 1. Simple mode of quality rule creation
Displaying Data quality Errors¶
If an error was found in an attribute when the validation quality rule was triggered, an error is displayed in the record card. The error contains the message that was set when setting up the quality rule, and the category of severity level. When clicking on some error messages, the attributes in which the error was found are highlighted in the record card.
Also see working with erroneous records.
In the Community Edition, quality errors are not displayed in the record cards
Changing Order of Rule Sets Execution¶
To change the order of performing quality rule sets:
Make sure that the “Quality Rules” tab of the “Data Quality” section is active and draft mode is enabled.
Drag the rule set block to the desired location, thereby changing the order of the rule sets (Figure 2).
The rule table is only available in draft mode and if no attribute is selected from the attribute list. In case a rule set of a particular attribute is displayed, use the ” Back to Rule Sets” button to return to the rule set table or click on the highlighted attribute again
Figure 2. Changing the order of quality rule sets
Editing Quality Rule¶
To edit a quality rule:
Select the required entity/lookup entity.
Select the attribute that contains the quality rules. Attributes with quality rules are marked in the attribute list.
From the list of rules, select the required one.
This will open a drawer. Some fields, such as the logical name, will not be available to change.
Make your changes.
Save the changes. Click the “Save” button located in the upper right corner of the drawer.
After all the data has been entered and saved, publish the draft.