Use Cloud Data Quality rule specifications to add advanced rule associations for code list attributes. You can associate a rule specification as a transformation rule or a validation rule.
Open a code list.
Click
Definition
.
The
Definition
tab opens.
In the
Attributes
section, select the attribute to add a rule.
The
Attribute Details
panel displays the details of the attribute on the
Details
tab.
On the
Advanced Rules
tab, click the
Add
icon.
A form appears.
Select a rule specification.
Click the asset picker.
The
Select an Asset
page appears.
Select a rule specification, and click
Select
.
Enter a unique name for the rule association.
Optionally, enter a description.
On the
Input and Output Fields
tab, perform the following tasks:
In the
Input Fields
section, select a business entity field or enter an input value for each rule specification input field.
In the
Output Fields
section, select a business entity field for each rule specification output field if you want to associate a transformation rule.
If you associate a transformation rule by specifying a value in the
Output Fields
section, the
Validation
tab is disabled.
To associate a validation rule, specify values on the
Validation
tab without providing values in the
Output Fields
section.
In the
Rule Status
section, select a rule specification field that contains the validation status.
Enter a validation status that indicates successful validation.
Ensure that the validation status matches the rule specification output value for successful validation.
In the
Error Status
section, configure the error message by using one of the following ways:
Select a rule specification field that contains an error message.