Data Management Capabilities > Managing Part Structures > Windchill Options and Variants Capabilities > Filtering a Configurable Product Structure with the Option Filter > Effect of Rules on Choice Selection
Effect of Rules on Choice Selection
The option choices are subject to the rules defined in the assigned option set. As a result, when you select filtering criteria, some of your selections may cause other choices to be automatically selected, enabled, or disabled.
If the assigned option set has rules defined, then:
Selecting a choice that is included in an include rule automatically selects all associated choices.
Selecting a choice that is included in an exclude rule automatically disables incompatible choices.
Selecting a choice that is included in an enable rule makes only certain choices available for selection, while disabling other choices from the same option.
Rules that govern the choice selection are evaluated by the system in the following order of processing:
Exclude rule (global or set-specific) – Excludes incompatible choices.
Effectivity date (set-specific) – Excludes choices that are not within effectivity range.
Include rule (global or set-specific) – Includes related target choices after the source choice is selected.
Selection conflicts are handled in the following way:
For single-choice options:
A choice selected as a result of an include rule deselects any choice that may have been previously selected for the single-choice option.
A single-choice selection cannot be deselected if the choice is a target choice for an include rule.
All target choices of an include rule are ignored if selecting them creates a conflict with an exclude rule.
If choices are part of an include rule, selecting an effectivity date can make one of the choices unavailable and thus invalidate the include rule. An error message informs you that the selected effectivity date causes a target choice to be deselected.
Effect of Choice Selection and Rules Causing Choices to be Enabled, Disabled, or Unselected
When you select a choice that triggers a rule or has an effectivity date specified, this can result in disabling or unselecting previously selected choices. When such conflict is detected, the system issues an error message.
Selecting a choice can also trigger a rule that enables the choices that were previously disabled.
To determine whether a choice should be reselected automatically once it is enabled, the system evaluates all factors that have effect on the choice selection. Based on that evaluation, the system adds or removes a checkmark next to the choice. Some of the deciding factors are:
Is the choice controlled by a rule, and the source choice of that rule is selected?
Is the choice enabled or disabled by an effectivity date?
Is the choice enabled or disabled by a rule, but is turned on/off by an effectivity date?
Disabling Rule Checking
If you want to disable the effect of rules on the choice selection, select Disable Rule Checking in the Edit Filter window.
Consider the following consequences of disabling the rule checking:
The system skips the verification step for the Minimum Required and Maximum Allowed child parts, allowing you to create a variant part that violates the constraint on the number of the child parts.
All rules as well as effectivity settings are disabled, and all choices from the assigned option set are now available for selection.