Rule specification assets > Business rules and rule statements > Identifying errors in business data
  

Identifying errors in business data

To find values that are no longer valid in a data set, configure a rule statement to read a dictionary that contains known data errors. For example, a national organization updates the codes that identify branch offices. The organization changes the code structure from eight digits to ten digits. You might configure a rule statement to read a dictionary that contains the obsolete eight-digit codes.
If the rule statement finds an obsolete branch code in the input data, it writes a value that you specify as output.
    1Select a rule set in a rule specification.
    2In the rule set properties, click Rule Logic.
    3Click Add Rule Statement.
    4Select an input for the rule statement.
    5Select an operator to validate the results of the condition analysis.
    6Select the type of condition to apply to the input.
    7Select the input that you selected in step 4.
    The rule statement compares the input to itself. Therefore, the rule statement passes all of the input data values from the condition to the action.
    8Configure the action to search the input data for obsolete branch codes.
    9Click OK.
    10Optionally, update the default rule statement to return the input data value if the action does not find a dictionary match with the value. Select input as the action type, and then select the input column that you selected in step 4.
    When you update the default rule statement in this way, the action can write an output for each row of input data.
    11Save the rule specification.