Example 4.1. Define an Eliminate Sources Based on Rule Evaluation.

The computer factory has three values for the COLOR attribute:

BLUE

BLACK

BEIGE

Production has the following requirements.

Build a maximum of 3 BLACK computers consecutively.

Space BEIGE computers so at least a minimum of two other colors are built between each BEIGE computer.

Note: The Spacing rule does not say that there should be 1 beige computer out of every three. Results from other rules (and what items are in the range) may place 5 computers with other colors after a beige computer. This is perfectly acceptable.

Rule Type

Attribute Name

Attribute Value

Rule

G

COLOR

BLACK

3

S

COLOR

BEIGE

2

Configuring this rule is done in three segments.

Example 4.1.1

Create an Eliminate Sources Based on Rule function block.

Example 4.1.2

Enter values for the rule definition arrays.

Example 4.1.3

Add a Record Attribute Rule function block.

More information

Step 4. Add historical evaluation to the RSA Module.