Rules and Guidelines for Rule Set Configuration
When you configure rule sets in the workspace, you define the flow of data through the rule specification. The position of the rule sets and the order of the rule statements in the rule sets determine the data flow.
Consider the following rules and guidelines when you configure rule sets:
- •Data flows upwards through a rule specification from the lowest rule set to the primary rule set. When the rule specification includes parallel rule sets, the rule specification runs the parallel rule sets concurrently.
- •The output from a child rule set is an input to a parent rule set. Every rule set that you add to a rule specification is a child of the primary rule set or a child of another rule set.
- •The output from the primary rule set is the primary fact that the rule specification generates about the business data. The primary rule set output represents the result of the business rule analysis of the data row.
- •A rule set generates a single output for a row of input data. The output from the first rule statement to generate an action becomes the rule set output for the data row.
- •The rule statements in a rule set must generate outputs of the same data type. Otherwise, the rule set might send data of different data types to the same input in the parent rule set. If multiple rule statements generate outputs with different data types, assign the rule statements to different rule sets.