Use Case: Configuring Validation Rules
Business Context
Sales administrators in product-based companies often need to enforce business rules that prevent over-ordering or misuse of products. For example, a company may offer a promotional product with a per-order quantity cap. Without automated enforcement, sales representatives can inadvertently exceed these limits, resulting in fulfillment errors, financial discrepancies, or policy violations. Validation rules in Conga CPQ allow administrators to define and enforce such limits directly within the quoting and ordering workflow, reducing manual intervention and ensuring consistent policy adherence across all transactions.
Overview
This use case demonstrates how a sales administrator at a computer hardware company configures a Validation type constraint rule to restrict the maximum allowable quantity of a product to 5 units per order. When a user enters a quantity greater than 5 for the specified product, the system displays a warning message and prevents the transaction from proceeding.
Scenario
A sales administrator at a computer hardware company needs to ensure that customers cannot order more than 5 units of Product A per transaction. The administrator sets up a constraint rule that evaluates the quantity entered for Product A and displays a warning message if the quantity exceeds the allowed maximum of 5.
- Sales Administrator: Configures the constraint rule in Conga CPQ.
- Sales Representative: Adds products to the catalog and enters quantity.
- Conga CPQ System: Evaluates the constraint rule and displays the appropriate warning message.
Set Up Validation Rules
- Product A is created and available in the product catalog.
- You have administrator access to Conga CPQ.
- The Constraint Rule and Constraint Rule Action objects are accessible in your Conga CPQ implementation.
Task 1: Configure the Constraint Rule Condition
On the Constraint Rule Condition Detail page, in the Criteria section, from Product Scope, select Product.
In Product, enter Product A as the product.
In the Match Conditions section, select Match in Primary Lines and click Save.
Task 2: Configure the Constraint Rule Action
On the Constraint Rule Action Detail page, in Message, type {0} cannot exceed 5 quantity. The {0} token is dynamically replaced with the name of the condition product at runtime.
From Action Type, select Validation.
From Action Intent, select Show Message.
From Action Disposition, select Warning.
From Product Scope, select Action Criteria.
In the Match Conditions section, select Match in Primary Lines and click Save.
Task 3: Set the Quantity Criteria on the Constraint Rule
On the Constraint Rule Detail page, scroll down to the Constraint Rule Actions related list and click Edit Criteria.
From Field, select Line Item : Quantity.
From Operator, select greater than.
In Value, type 5 and click OK.
Result
When a sales representative selects Product A and enters a quantity of 6 or more, the system displays the warning message: Product A cannot exceed 5 quantity.
Quantities of 5 or fewer are accepted without restriction.
The constraint is enforced consistently across all transactions in the catalog.
Points to Remember
The {0} token in the message is dynamically replaced with the product name at runtime. Use this token to make messages informative and reusable across similar rules.
Setting Action Disposition to Warning displays a non-blocking message. To prevent the user from proceeding entirely, consider using the Error disposition.
Ensure that the Match Conditions are set to Match in Primary Lines in both the condition and action to maintain consistency across bundle and standalone product scenarios.
For products with multiple quantity tiers or complex pricing conditions, consider combining validation rules with inclusion or exclusion rules for a more comprehensive configuration strategy.
