Bookshelf Home | Contents | Index | PDF |

Product Administration Guide > Configuration Rule Template Reference > ## Constrain ConditionallyThe Constrain Conditionally template has the form: When [condition A is true] [enforce constraint B], otherwise This template provides if-then-else logic. When the condition is true the first expression is enforced as a constraint. If the condition is false, the second expression is enforced as a constraint. Another way to view the logic is as a relationship between a condition and two constraints: - If condition A is true, then B is enforced as a constraint, and C can be either true or false.
- If condition A is false, then C is enforced as a constraint, and C can be either true or false.
The condition can be defined as a quantity comparison of a product, relationship, or resource. It can also be the value of a linked item. Compound logic operators (AND, OR, and so on) are provided to link conditions together. The constraints can also be quantity comparisons of products, relationships, or resources. The value of a linked item can also be used. |

Product Administration Guide |