Within a composition, one or more prerequisites may be defined within the <Prerequisite> element. Prerequisites are made up of conditions, which are evaluated at runtime. If a prerequisite is true, the corresponding composition will be applied. Otherwise, the next composition will be evaluated, and a composition will be applied only when the prerequisite is satisfied. Prerequisites are applied sequentially. For more information, refer to the Conditions topic.
Note: When defining conditions, it is recommended that you start with the most complex condition first and then add conditions in decreasing order of complexity. This is so that the most specific composition is selected for the Composite Genie.
Attribute |
Description |
---|---|
GlobalConditionRef | Used to refer to a predefined Global condition |
ParameterCondition |
Used to specify conditions by comparing a template parameter value to a predefined value. |
CompositeCondition |
Used to combine more than one condition with either AND or OR relation specified in its attribute. Its child conditions can be made up of predefined Global conditions <GlobalConditionRef Id="..."/>, a Parameter condition and nested Composite conditions. |
See Also
Published June 2018