Revenue Cloud project notebook, written by two Meir IT consultants who implement it.

What is Revenue Cloud?

Admin · Building block 3 of 8

Product Configurator

The screen where reps set up a bundle before it goes on the quote, and the two rules engines that check the configuration is valid.

Checked on against the Salesforce documentation (release 264)

On this page (7 sections)
  1. What it does
  2. What to turn on
  3. Key objects
  4. Where to set it up
  5. What goes wrong on projects
  6. Articles on this product
  7. Official documentation

What it does

Product Configurator is the screen where a rep sets up a product before it goes on the quote: which bundle options, how many of each, and which attribute values. It checks the configuration against your rules and shows errors, warnings, and info messages in one place.

The configurator doesn't set prices. The prices in its summary come from pricing calls, and the Instant Pricing toggle decides whether they refresh on every change.

Two engines run the rules. Business Rules Engine handles simple rules. Constraint Rules Engine handles large or complex rule sets, written in CML (Constraint Modeling Language) or built point-and-click.

An example from the docs. On a laptop, a preference rule says a 2K display should come with a screen of 15 inches or more. If the rep picks 14 inches, the configuration still goes through, and a message flags the rule.

The configurator reads the bundle structure and the allowed quantities from Product Catalog Management, then hands the lines to the quote in Transaction Management. The plain-language walkthrough is in Catalog: How It Works and Quote and Order: How It Works.

A bundle configurator: an option unchecked, the summary updated, then the total recalculated after Update Prices.Enlarge
The configurator on a bundle: removing an option updates the summary, and prices are recalculated when you click “Update Prices”.

What to turn on

  1. A Revenue Cloud Growth or Revenue Cloud Advanced license. The configurator permission sets come with the Product Configuration User permission set license.
  2. Setup > Revenue Settings: turn on Configure Products at Runtime.
  3. Permission sets: Product Configurator for users, Product Configuration Rules Designer for whoever writes Business Rules Engine rules, Product Configuration Constraints Designer for whoever builds constraint models.
  4. For Business Rules Engine: a rule library (Rule Libraries, usage type Configurator, using the context definition of the default pricing procedure) with an active version, then Revenue Settings > Set Up Configuration Rules with Business Rules Engine.
  5. For Constraint Rules Engine: the ConstraintEngineNodeStatus__c field (Long Text Area, 131,072 characters) on Quote Line Item, Order Product, and Asset Action Source, plus the Apex triggers from the docs. Next, Revenue Settings > Set Up Configuration Rules and Constraints with Constraints Engine, then update the context definition.
  6. One Transaction Processing Type record per engine: StandardConfigurator for Business Rules Engine, AdvancedConfigurator for Constraint Rules Engine.

Key objects

In the UIAPIWhat you set there
Product Configuration RuleProductConfigurationRuleA Business Rules Engine rule: conditions, actions, sequence, status, and effective dates.
Constraint ModelExpressionSetThe CML code, the context definition, and the active version. CML models are imported as expression sets.
Expression Set Constraint ObjExpressionSetConstraintObjThe link between a product and the tags in a constraint model.
Transaction Processing TypeTransactionProcessingTypeThe rules engine. The Transaction Type field on a quote or order points to this record.
Bundle componentProductRelatedComponentThe local cardinality the configurator enforces: required or not, default, minimum, and maximum quantity.
Context DefinitionContextDefinitionAn extension of SalesTransactionContext. A constraint model needs the one the cfgStatus node is mapped to.

Where to set it up

Business Rules Engine rules are created from the Product Catalog Management app home page, under Product Configuration Rules > New. A rule holds up to 3 conditions, 8 sub-conditions, and 3 actions, and conditions can only be combined with AND. When several rules fire together, the one with the lowest sequence number runs first.

Constraint models are created from the App Launcher, under Constraint Models > New Constraint Model, with a name, an API name, and a context definition. In the Constraint Builder, the Visual Builder offers seven point-and-click rule types: basic logic, conditional logic, message, require, exclude, hide/disable, and preference. It generates CML, which you can read and edit in the CML Editor. The Sync button pulls in catalog changes.

The screen itself is a flow. To change its layout, open Default Product Configurator Flow from Setup > Flows and use Save As New Flow.

On limits: a constraint model can be up to 6 MB, constraints have 10 seconds to run, and a table constraint imports at most 10,000 records.

What goes wrong on projects

  • The configurator fails after a catalog change. An active Business Rules Engine rule doesn't follow the catalog: if an attribute or bundle the rule refers to changes, the configurator fails. The docs say to deactivate the rule, update it, and reactivate it. They also say to remove from your rules any reference to a deactivated child product.
  • A component you added to the bundle isn't in the constraint model. Sync doesn't bring over new components or attributes, product component groups, or products added to or removed from a classification. Reread the CML after every structure change.
  • A bundle's configure icon is grayed out in the catalog. The user most likely lacks read access to the Product Component Group object.
  • Component quantities are wrong on first save and right after a reprice. On one project, a rule matched each module's quantity to the number of licenses. On first save, the link between a line and its bundle didn't exist yet in the transaction context, so the rule only worked on the second pass. Test bundle rules on a brand-new quote, through every way a bundle gets added (code, configurator, quote screen). Article: Revenue Cloud Bundle Quantities Wrong on the First Save
  • The constraint engine isn't available in the org. Constraint Rules Engine isn't offered in Government Cloud or in orgs in the EU Operating Zone. Check where the org is hosted before you pick an engine.

Articles on this product

All 5 Product Configurator articles in the list

Official documentation

Every source on this page (11)
  1. Enable Product Configurator
  2. Set Up Business Rules Engine for Product Configurator
  3. Create Custom Field and Define Apex Triggers
  4. Enable Constraint Rules Engine and Create Transaction Processing Types
  5. Manage Configuration Rules with Business Rules Engine
  6. Convert Rules from Business Rules Engine into CML Code
  7. Define Quantity Limits for Bundled Products
  8. Create a Constraint Model
  9. Sync Constraint Models with Product Definitions
  10. Clone and Customize the Default Product Configurator Flow
  11. Record Sharing in Product Catalog Management

A question about an article or a project?

Nathan Altmann and Ilan Malka answer every message themselves.

Contact

Type at least two letters.