Attribute Conditions

An attribute condition specifies an attribute value and uses it to identify the items in a relationship to which the constraint applies. In the constraint examples below, the attributes are defined on items in relationships within the product with components. You can also define require constraints on the attributes of the product with components itself.

In the constraints examples below, the equals operator is used in the attribute expressions. You can use all the math operators ( <, >, and so on) when writing this type of constraint.

  • Product A requires Attribute C = M in Relationship B

    If Product A is present in the solution, then M is the only value selectable for Attribute C for all items in Relationship B.

  • Relationship A requires Attribute C = M in Relationship B

    If any product in Relationship A is present in the solution, then M is the only value selectable for Attribute C for all items in Relationship B.

  • Attribute C = M in Relationship A requires Product B

    If any product with Attribute C = M in Relationship A is present in the solution, then Product B must be present.

  • Attribute C = M in Relationship A requires Relationship B

    If any product with Attribute C = M in Relationship A is present in the solution, then at least one of the products in Relationship B must be present.

  • Attribute C = M in Relationship A requires Attribute D = P in Relationship B

    If any of the products with Attribute C = M in Relationship A are present in the solution, then P is the only value selectable for Attribute D in Relationship B.