Skip to content
  • There are no suggestions because the search field is empty.

Rules in HeadQ

Properties and Rules allow you to control product configuration logic — defining custom data fields for your products, options, and option values, and using them to show, hide, disable, or force-select options based on conditions.

Overview

Setting up rules in HeadQ is a two-step process:

  1. Create Properties — define custom data fields for products, options, or option values
  2. Create Constraints — build rules that use those properties to control what is shown or available in the configurator

Step 1: Creating Properties

Properties are custom data fields that can be assigned to products, options, or option values. They are used as the basis for constraint logic.

To create a property, navigate to the Properties tab in your CPQ or Product and click + New product property.

Näyttökuva 2026-05-25 kello 14.31.21

When creating a property, you define:

  • Object type — whether the property belongs to a Product, Option, or Option value
  • Label — the display name of the property 
  • Field type — the type of data the property holds:
    • Text
    • Number
    • Date
    • Checkbox
    • Dropdown
    • Tags
  • Placeholder — optional hint text shown in the field
  • Description — optional description of the property
  • Required — toggle to make the field mandatory

Once created, properties appear as columns in the Properties view, where you can assign values to each product, option, or option value.

Näyttökuva 2026-05-25 kello 14.54.25

Property matching across levels

Properties can be created at one level but used to control elements at a different level. For example, an Option value -level property can be used to drive a rule that targets an Option value, an Option, or a Product. This cross-level matching gives you precise control over your configuration logic.


Step 2: Creating Constraints (Rules)

Once properties have been created and values assigned, you can build constraints to control the configuration logic.

Navigate to the Rules tab in your CPQ editor and click + Add Constraint.

Näyttökuva 2026-05-25 kello 14.37.07

Choosing a rule template

First select a rule template based on what you want to control:

  • Product visibility rule — apply a condition to show or hide a product
  • Option visibility rule — apply a condition to show or hide an option
  • Option value visibility rule — apply a condition to show or hide an option value

Näyttökuva 2026-05-25 kello 14.57.06

Configuring the constraint

Each constraint is configured with the following fields:

  • Constraint name (optional) — a descriptive name to help identify the rule
  • Rule enabled — toggle to activate or deactivate the rule without deleting it
  • IF — define the condition:
    • Select the level: Product, Option or Option value
    • Select the specific option or option value
    • Select the Property to evaluate
    • Select the Relationship: equals, is greater than, or is less than
    • Select the target level (Produt, Option or Option value) and the Target property to compare against
  • Action — what happens when the condition is met:
    • Show — makes the element visible
    • Hide — hides the element
    When the rule targets an Option value, two additional actions are available:
    • Disable — grays out the option value so it cannot be selected
    • Force select — automatically selects the option value
  • Dependencies — optionally link this rule to other rules
  • Applies when — set to All rules match or adjust to your logic

A plain-text summary of the rule is shown at the bottom of the editor, making it easy to verify the logic before saving.

Näyttökuva 2026-05-25 kello 15.02.29


Where to build rules

Rules can be built in two places:

  • From the CPQ editor — you can see and manage rules for all products, options, and option values in the entire configurator
  • From an individual product — you can see and manage rules that relate specifically to that product

If the same option is used across multiple products, or the same product appears in multiple configurators, any rules defined for that option or product apply everywhere it is used. Keep this in mind when building rules to avoid unintended side effects in other configurators.