Common Types of Rule Statements > Verifying the Application of the Business Rules
  

Verifying the Application of the Business Rules

To demonstrate that you applied a business rule to a data set, you might add a date and time stamp to each record. The date and time stamp indicate the time at which the Data Integration Service ran a mapping to validate the business rule on the data set.
For example, you might define a business rule that states that primary key columns in a data set cannot contain null values. You define a parallel business rule that sets a monthly schedule to review the primary key column data. You configure a rule statement that analyzes the primary key columns and that adds a date and time stamp to indicate the time of the analysis.
Add a condition for each primary key column. Use the "AND" feature to combine the conditions.
    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.
    5. Select an operator to validate the results of the condition analysis.
    6. Select the type of condition to apply to the input.
    7. Select Add Condition in the rule statement menu.
    The rule specification adds a condition under the current condition and creates an AND relationship between the conditions.
    8. Select an input for the rule statement that you added.
    9. Repeat steps 4 through 8 to configure a condition for any additional primary key column in the data set.
    10. Select the type of action to apply to the data rows that meet all of the conditions in the rule statement.
    11. Save the rule specification.