The CPQ Configuration view
When your Salesforce instance is connected, Veles can read your existing Salesforce CPQ rules and display them in a CPQ Configuration tab. This view shows the original SFDC rule details alongside the Veles rule configuration, so you can review and translate rules without switching between systems. For each imported rule, the CPQ Configuration tab shows:| Field | Description |
|---|---|
| Rule Name | The original Salesforce CPQ rule name. |
| Rule ID | The Salesforce record ID for reference. |
| Active | Whether the rule is active in Salesforce. |
| Conditions Met | The condition logic (All, Any, or Custom). |
| Error Message | The message displayed when the rule fires. |
| Evaluation Event | When the rule evaluates (Save, Calculate, Always). |
| Evaluation Order | The numeric order in which rules are processed. |
| Scope | Quote or Calculator. |
| Type | The SFDC rule type (Validation, Alert, Selection, Filter). |
How SFDC rule types map to Veles
Salesforce CPQ has a different rule taxonomy than Veles. Here’s how the major rule types translate:Product Rules
Salesforce CPQ Product Rules enforce constraints on product configuration and selection. They come in several subtypes:| SFDC Product Rule type | Veles equivalent | Notes |
|---|---|---|
| Validation (Error/Warning on quote) | Quote Validation Rule or Row Validation Rule | Use Quote Validation for deal-level checks. Use Row Validation for line-item checks. Veles separates these into two kinds; SFDC combines them under Product Rules with scope. |
| Selection (auto-add/remove products) | Pricing Rule with product logic | Veles Pricing Rules can automate product-level adjustments. For complex auto-add logic, use Formula Rules. |
| Filter (restrict product selection) | Product Filters | Veles handles product visibility through the filter system on the price book, not through rules. |
| Alert (display message without blocking) | Quote or Row Validation with Warn severity | In Veles, the severity level (Warn vs. Error) controls whether the rule blocks or just alerts. |
Price Rules
Salesforce CPQ Price Rules automatically adjust field values on quote lines based on conditions. They’re the closest equivalent to Veles Pricing Rules.| SFDC Price Rule concept | Veles equivalent |
|---|---|
| Price condition (the “if”) | Pricing Rule condition (scope + facts + operators) |
| Price action (the “then”) | Pricing Rule adjustment (percentage or fixed amount) |
| Lookup-based pricing | Data Sheet + VLOOKUP in a Formula Rule |
Approval Rules
Salesforce CPQ uses Advanced Approvals (or standard Salesforce approvals) to route deals. Veles handles this through the Approvals system with tier-based routing.| SFDC Approval concept | Veles equivalent |
|---|---|
| Approval rule conditions | Any rule kind with Requires Approver toggled on |
| Approval chain / steps | Approval Tiers (Tier 1 → Tier 2 → Tier 3) |
| Approver assignment | Org hierarchy-based routing via manager relationships |
Key structural differences
Understanding these differences will help you translate rules more effectively:Scope is separated, not embedded
In Salesforce CPQ, a single Product Rule can have conditions that evaluate at the quote level or the line level, determined by the Tested Object and scope fields. In Veles, this is split into distinct rule kinds: Quote Validation for deal-level and Row Validation for line-level. You may need to split one SFDC rule into two Veles rules.Condition logic is explicit
SFDC CPQ uses “Conditions Met” (All, Any, Custom) to control how multiple conditions are combined. In Veles, conditions within a single Rule Set are always AND-ed (all must be true). For OR logic, create multiple Rule Sets on the same rule — each Rule Set is evaluated independently.Evaluation order is simplified
SFDC CPQ uses explicit Evaluation Order numbers (100, 200, 800, etc.) to control which rules run first. Veles evaluates all active rules simultaneously against the current quote state. If you have rules with order-dependent logic in SFDC (where Rule A’s output affects Rule B’s input), you may need to restructure them as a single Formula Rule in Veles.Error messages are per-rule, not per-condition
In SFDC CPQ, the error message is set at the Product Rule level and fires when the condition set is met. Veles works the same way — the message is set on the Rule Set action and displays when conditions are met. This maps directly.Lookup-based rules use Data Sheets
SFDC CPQ Price Rules can look up values from custom objects or related records. In Veles, this is handled through Data Sheets — reference tables that rules and formulas can query via VLOOKUP. If your SFDC rules reference custom objects for pricing logic, migrate that data into Data Sheets.The translation process
Audit your SFDC rules
Review all active Product Rules, Price Rules, and Approval Rules in your Salesforce CPQ instance. Use the CPQ Configuration tab in Veles to see them in one place. For each rule, note the type, conditions, actions, and business purpose.
Categorize by Veles rule kind
Map each SFDC rule to its Veles equivalent using the tables above. Flag any rules that need to be split (one SFDC rule → two Veles rules) or restructured (order-dependent logic → single Formula Rule).
Migrate supporting data
If your SFDC rules reference custom objects, picklist values, or related records for pricing logic, migrate that data into Data Sheets. Set up Product Categories and Custom Fields in Veles to match the dimensions your SFDC rules evaluate against.
Build the Veles rules
Create each rule in Veles using the appropriate kind. Configure the scope, conditions, actions, severity, and approval routing. Reference Data Sheets where SFDC rules used lookups.
Test side by side
Build test quotes that trigger each rule. Compare the behavior against the same scenario in your SFDC CPQ environment. Verify that the alert messages, blocking behavior, and approval routing match your expectations.
Common translation patterns
SFDC Validation → Veles Quote Validation
An SFDC Product Rule of type Validation with scope Quote that checks whether the total discount exceeds a threshold. In Salesforce CPQ:- Type: Validation
- Scope: Quote
- Condition:
SBQQ__NetPrice__crelated, discount threshold - Error Message: “Discount exceeds maximum.”
- Kind: Quote Validation
- Scope: Option
- Fact: Discount %
- Operator: Is Greater Than or Equal To
- Severity: Warn
- Message: “Discount exceeds maximum. Requires approval.”
- Approval: Tier configured
SFDC Line-level Validation → Veles Row Validation
An SFDC Product Rule that validates a condition on specific quote lines (e.g., minimum quantity for a SKU). In Salesforce CPQ:- Type: Validation
- Scope: Quote (but condition tests
SBQQ__QuoteLine__cfields) - Condition: Product-specific, quantity threshold
- Kind: Row Validation
- Scope: Row
- Conditions: Product SKU equals target AND quantity threshold
- Severity: Error
SFDC Price Rule → Veles Pricing Rule
An SFDC Price Rule that adjusts the net price based on a condition (e.g., bundle discount when multiple products are present). In Salesforce CPQ:- Price Condition: Product count or specific SKU presence
- Price Action: Set discount or adjust target field
- Kind: Pricing Rule
- Scope: Option
- Condition: Product Count ≥ threshold
- Action: Percentage discount on matching lines
SFDC Lookup Price Rule → Veles Formula Rule + Data Sheet
An SFDC Price Rule that uses a Summary Variable or custom object lookup to determine the adjustment. In Salesforce CPQ:- Summary Variable calculates aggregate value
- Price Action references the summary
- Migrate the lookup data into a Data Sheet
- Build a Formula Rule that uses VLOOKUP to query the Data Sheet
- Apply the looked-up value as the condition threshold or adjustment amount
What doesn’t translate directly
Some Salesforce CPQ features don’t have a 1:1 equivalent in Veles and require a different approach: Twin Fields. SFDC CPQ uses twin fields (SBQQ__ custom fields) on quote and quote line objects. Veles uses its own field model. Map SFDC twin fields to the appropriate Veles facts (for rules) or custom fields (for data).
Summary Variables. SFDC CPQ Summary Variables aggregate values across quote lines. In Veles, use the list processing functions (FILTER, MAP, SUM) in Formula Rules to replicate this behavior.
Product Selection rules (auto-add). SFDC CPQ can automatically add or remove products from a quote. Veles doesn’t auto-add products via rules. Required product bundling is handled through validation rules that warn or block when a required product is missing, prompting the rep to add it manually.
Configuration Attributes. SFDC CPQ Configuration Attributes (for guided selling) don’t have a direct equivalent. In Veles, product configuration is handled through the pricing plan, custom fields, and the Calculator interface.
Tips for migration
Don’t translate 1:1 blindly. SFDC CPQ rules often accumulate over years and include workarounds for platform limitations. Use the migration as an opportunity to simplify. Ask “what business outcome does this rule enforce?” and build the simplest Veles rule that achieves it. Consolidate where possible. Multiple SFDC rules that enforce related logic (e.g., three rules for different discount thresholds) might map to a single Veles rule with tiered approvals, or a single Formula Rule with CASE logic. Prioritize by impact. Start with the rules that affect the most quotes: discount limits, required products, billing restrictions. Translate edge-case rules last. Keep SFDC rules inactive, not deleted. During the transition period, deactivate SFDC rules rather than deleting them. If a Veles rule doesn’t behave as expected, you can reactivate the SFDC rule while you debug.What’s next
Getting Started with Rules
Overview of the Veles rules engine.
Formula Rules
Build complex logic for rules that don’t map to simple kinds.
Data Sheets
Migrate SFDC lookup data into Veles reference tables.
Connect your CRM
Set up the Salesforce connection to access the CPQ Configuration view.

