The following example expands on the previous one by adding two rules called “Best Buys” and “Highly Recommended” to the rule to promote highly recommended chardonnays.
These rules promote wines tagged with a Best Buy property and a Highly Recommended property, respectively. Together, the three rules promote records to expose a broader set of potential wine purchases.
The “Best Buys” rule is set up as follows:
The rule’s trigger is set to the Web application’s root dimension value. In other words, the trigger always applies.
The style associated with this rule is configured to provide a minimum of four promoted records and a maximum of eight records.
The zone associated with this rule is configured to allow only one rule to produce rule results.
The “Highly Recommended” rule is set up as follows:
The rule’s trigger is set to the Web application’s root dimension value. In other words, the trigger always applies.
The rule’s target is the dimension value named Highly Recommended.
The style associated with this rule is configured to provide a minimum of at least one promoted record and a maximum of three records.
There is the only rule associated with the zone, so no other rules are available to produce results; for details about how zones can be used when more rules are available, see the topic “Ensuring promoted records are always produced."
When an application user navigates to Wine_Type > White, the “Recommended Chardonnays” rule fires and provides rule results as described in “An example with one rule promoting records”. In addition, the Highly Recommended and Best Buys rules also fire and provide results because their triggers always apply to any navigation query. The promoted records for each of the three rules, along with the user’s query and standard query results, are called out in the following graphic: