In this article (6 sections)
Stage: the pricing procedure, the list of steps that turns a list price into a net price on every quote line. The catalog was growing offer by offer, and the next offer was ready on paper. The default pricing procedure already held 128 elements, against a ceiling of 130 observed at the time. The question was whether to split it, and how.
EnlargeIn the org, procedures live alongside the rest of the catalog:
Enlarge- 1Products and their components: the catalog itself.
- 2Selling models: per unit, per month, per year. They decide the shape of the price.
- 3Expression sets: the pricing engine. This is where a pricing procedure lives.
- 4Rules, qualification and configuration: what you are allowed to sell, and with what.
The limit applies to the compiled version
Every conditional rule, every tier, every rounding step and every discount mechanism takes
elements from the same budget. And the count that matters is not the one on the screen you edit.
Revenue Cloud compiles that procedure into a generated version with the _Auto
suffix, and the compiled version is what runs and what hits the limit.
On this org, the source had 81 standard steps and the compiled version 128. Counting the source, the team would have thought about fifty slots were free. Two were. The same gap explains why a migration checked against the source can fail in the target org: anything about runtime behavior has to be read from the compiled procedure.
Where the elements went: decision tables that decide nothing
Before splitting anything, the space in use had to be justified. The biggest source of avoidable consumption was decision tables added one per product, because it looked tidy. A decision table answers a question, a condition or a tier. A product with a single price asks no question: its price belongs on the price book entry, where it costs zero procedure elements.
So the first move is an audit, a list of every decision table in the procedure with the condition it tests. A table with no condition goes, and its price moves to the price book entry. On a full procedure, that often frees enough room to put off the split.
When the logic really is too big: one procedure per offer
When the audit isn’t enough, the native answer is a Procedure Plan with one procedure per offer, each with its own element budget. A plan is three objects: a definition, criteria that decide which branch applies, and options that name the procedure each branch runs. All three are available in metadata and through a REST evaluation API, so a plan can be built, versioned and tested without the UI.
The other benefit is reading. Debugging a price means opening the procedure for that offer, instead of searching one 128-element list where every offer’s steps are mixed together.
The build went in this order:
- Build the per-offer procedure first, and prove it on a real quote. Reprice and read the line totals. Don’t wire the plan until one branch prices correctly on its own.
- Then wire the plan. Two org settings turn on plan orchestration, and they can be switched back. That paid off during the build: an unrelated error showed up in the product configurator, switching the settings back didn’t clear it, and pricing was ruled out in one move. That only works if one thing changes at a time.
- Reactivate everything you touched. Editing a pricing procedure deactivates it. A deactivated procedure prices nothing, and the symptom, every line at list price, gives no hint that a reactivation was forgotten.
A year later, the limit was 200
The last planned step was also the riskiest: move about forty elements for one offer, billed every month, out of the default procedure into a procedure of their own. It had been put last on purpose. When I reopened the project a year later to run it, I checked the starting number first.
The limit wasn’t 130 anymore. It had gone up to 200 elements in an interim Salesforce release, which is also the figure on the Salesforce Pricing limits page today: 200 elements per procedure, both the default and the maximum (Winter ’27). At 128 compiled elements, more than seventy slots were free, and the shortage that justified the risky step was gone.
The same check corrected a second assumption. The plan had been pictured as an orchestrator that chains several procedures and adds up their budgets. It doesn’t: a plan routes each section to a single pricing procedure.
A limit written down once becomes a premise, and later decisions get built on top of it. Here, the old number had left behind a risky step still marked as mandatory; per-offer procedures that were active but never ran, because the plan wasn’t turned on, so they calculated nothing and reported nothing; two active plans at the same rank, since nothing forces a choice while routing is off; and an architecture note that was wrong on its main point. The riskiest step of a plan usually comes last, which is when the measurement it relies on is oldest.
Nothing had to be thrown away. One procedure per offer is still easier to read than a 128-element list, at the cost of more to deploy and keep aligned, and Procedure Plans have little written about them outside Salesforce’s own documentation. The risky step now runs only if a fresh measurement calls for it.
In practice
- Count elements on the compiled
_Autoprocedure, never on the source. - List every decision table with the condition it tests. A table with no condition goes, and its flat price moves to the price book entry.
- Split per offer only once one branch prices correctly on its own, proven on a real quote.
- Reactivate every procedure you edit. An inactive procedure leaves every line at list price.
- Write the date and release next to every limit, and measure again right before the riskiest step.
The 130-element ceiling, the 128 in use and the 81-versus-128 gap were seen on one production org; the 200-element limit was found on the same org a year later. Treat the exact numbers as a guide and count on your own org before planning.