Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to rule specifications
  3. Rule specification configuration
  4. Rule set configuration
  5. Rule statement configuration
  6. REST APIs for rule specifications
  7. Rule specification configuration in advanced mode
  8. Business rules and rule statements
  9. Validation and testing

Rule specification assets

Rule specification assets

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.
  1. Select a rule set in a rule specification.
  2. In the rule set properties, click
    Rule Logic
    .
  3. Click
    Add Rule Statement
    .
  4. Select an input for the rule statement.
    • If the rule specification does not contain an input that you can use, create an input. Configure the input properties to represent the branch code data.
  5. Select an operator to validate the results of the condition analysis.
    • To specify that the input data must match the data in the condition, select the following operator:
      is
  6. Select the type of condition to apply to the input.
    • To compare the input data to the data from another input, select the following condition type:
      input
  7. Select 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.
  8. Configure the action to search the input data for obsolete branch codes.
    • Open the
      Define Action
      dialog box.
    • Select
      Standardize
      , and select
      Replace Dictionary Matches with Custom Strings
      .
    • Select the input that you specified in the condition.
    • Select the dictionary that contains the obsolete values. You must also select or verify the valid value column in the dictionary.
    • Enter the data value that the action returns when an input data value matches a dictionary value. For example, enter OBSOLETE_CODE.
  9. Click
    OK
    .
  10. Optionally, 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.
  11. Save the rule specification.

0 COMMENTS

We’d like to hear from you!