An item fails if it does not possess a match for the attribute
name/value pair specified as next
in the Pattern History point.

Notes

An accurate historical record of
the item selections is required.

When you use this block, insert a corresponding
Record Attribute function block into your routing or output logic
module.

Insert a Record Attribute
function block where all item
eliminations (by any and all methods) have been completed.

Example

If the Eliminate Source by
Pattern function block is placed within a Resequence Block
Module, then the corresponding Record Attribute function block
should be inserted immediately before the Resequence Range block where the selection is processed.

The Eliminate Sources Based on Rule and corresponding
Record Attribute function blocks should be configured with the
same points and array point
names.

A block that applies a
zero weight eliminates failed items
from the range source.

When you use Eliminate Source By Pattern to:

Assign rotation numbers to items
according to a defined pattern.

1. Apply a zero weight.

2. Use the block within a
multiple-pass resequence block module.

Apply other re-sequencing logic
in addition to pattern matching.

Apply a non-zero
weight.

Parameters

This function block has the following parameters:

Parameter

Description

Always
Evaluate

Hard, Soft or Breakable.

Controls what happens when the extension
eliminates all items in the range source.

Hard

All items will remain eliminated. Enter a wait
state after the logic script has completed.

Soft

Roll back any eliminations made by this
extension.

Breakable

Roll back any eliminations made by this
extension that have a danger point value of TRUE (non zero).

Routing Logic modules first try to use the
danger defined for each individual decision.

The function block
compares the value of the nth element in the Attribute Value
array with the value of the current item's corresponding
attribute.

Where

n is the
Pattern History Point value.

If no matching
Attribute Value is found:

The current item fails the comparison and is
either weighted or eliminated. The failure is saved as history
data.

The next item is compared to the same attribute
name/value pair.

This process continues until a matching value is
found or all items have been weighted or eliminated.

When a matching
Attribute Value is found:

The function block compares the same Attribute
Value element with the value of the corresponding attribute for the
next item.

At the conclusion of the pass, the function block
stores an index value that corresponds to the position of the
next element after the array element for which a match was
found.

This value is stored to the Pattern History Point.

Note: After
reaching the last element in the array, the Pattern History Point is reinitialized; the end
of the pattern wraps back to the beginning comparison with any
subsequent items.

Notes

An Attribute Name element
containing the reserved name ANY is a
wildcard. The current item will always be selected as a match for
this index into the pattern. This reserved name does not require a
value; i.e. you can enter any value or no value for the respective
Attribute Value element.

To compare items that satisfy a
named solve (query) or query expression, enter the reserved name
SOLVE for this element in the Attribute
Name array. (This is instead of the name of an attribute).
You can then enter a named query or query expression as the
respective element in the Attribute Value array.