In this article (8 sections)
Stage: contract renewal, with indexation. Every year, part of the customer base renews following a published index, applied product by product. In the old tool, someone worked out the rate and typed it by hand on every renewal. The ask: have Revenue Cloud do it on its own, with no code.
Revenue Cloud can carry an uplift rate on an asset, and the native renewal copies it onto the quote line. So what was left was setting the right rate on the assets of indexed products, at renewal time.
The automation has to sit on the Renew button
The first version was a “Prepare renewal” button on the contract: it read the index, set the rate on the assets, and the user then launched the native renewal. The team never used it. Users clicked Renew as usual, and an extra step sitting somewhere else doesn’t exist for them. So the automation moved onto the button they already use.
Start from the native asset-button flow
The Amend, Renew, Cancel and Swap buttons on assets aren’t hard-coded. They launch a flow, chosen in the Revenue Cloud settings. By default that’s a managed flow: you can neither edit nor retrieve it.
You clone it from the template Salesforce provides, then extend it. The cost is known up front: you become the owner of the flow, you stop getting the improvements Salesforce makes to the standard one, and you have to review it with every release.
Enlarge- 1Amend, Renew, Cancel. These buttons are not hard-coded: each one launches a flow, and that flow can be replaced.
- 2The renewal term and its unit. Without them the native renewal refuses the asset.
- 3One asset per product held, with its lifecycle dates. This is the inventory everything else reads from.

What the flow does, step by step
On the Renew action, after the term screen:
- It reads the account’s index. The account references an index, and published values are stored by month.
- It takes the latest published value and computes the rate. The index is stored as a coefficient (1.0158), so the rate is
(coefficient − 1) × 100, which gives 1.58%. - It shows a second screen with the rate and one question: “Apply this uplift to the renewal?” Yes is preselected, because indexation is the rule. Skipping it means unchecking the box.
- It sets the rate on the assets of indexed products only. A checkbox on the product says whether its renewal follows the index or list price.
- It launches the native renewal, which copies the rate onto the quote lines.
The rep can still change the rate by hand on the quote, to apply a negotiated figure for instance: the flow doesn’t lock anything. On the business side, one decision was made: the rate comes from the latest published index value, not the anniversary month’s value, and stays editable by hand.
The renewal term that turned into twelve years
The native renewal refuses any asset without a renewal term: “All assets in a request must have values for RenewalTermUnit and RenewalTerm.” Both fields exist on the asset only, and nothing fills them. So a before-save flow on the asset was added to derive the term from the lifecycle dates, first in months: 12 for an annual subscription.
The renewal came out over twelve years. The engine reads the renewal term in the unit of the line’s selling model, not the unit written next to it: 12 on an annual model means twelve years. The fix writes a whole number of years in years, otherwise in months, and a cleanup pass corrects the assets already filled wrong, or the first renewal of the year goes out over a decade.
EnlargeA rate on the line that pricing didn’t apply
The rate was on the line, but the renewed price didn’t move. It even came out at list price, with no bundle discount and the included components charged. The flow was doing its job: the pricing procedure was excluding renewal lines from several groups and rewriting their price at the end of the calculation. That’s the subject of Renewal at list price. Without that fix, the flow sets a rate nothing applies, and a test that only checks the rate on the line still passes. Only the quote amount proves the indexation is applied.
The flaws of a cloned flow
- A broken field in the clone. A Get Records element was storing a related product field, which it can’t do. The field became an unresolvable reference and the version could no longer be activated. The fix stores the product ID and lets the decision read the field through it.
- The saved version isn’t necessarily the active one. A failed save creates a newer, invalid draft. A metadata retrieve pulls the latest version, not the active one, and that’s what would ship.
- A flow deployed to production arrives as a draft. Activate it by hand, and check that the Revenue Cloud settings point at your clone, not at the managed flow.
Enlarge- 1The quantity held today, after every amendment.
- 2The monthly recurring revenue carried by this one asset.
- 3The history: every amendment leaves a point on the curve.
In practice
- Put the automation on the Renew button, not on a button next to it.
- Fill the renewal term in the selling model’s unit, and fix assets already filled before the first renewal.
- Test on the quote amount: a rate on the line proves nothing until the pricing procedure applies it.
- After each flow deployment, activate the right version and check that the Revenue Cloud settings point at your clone.
The native renewal copying the asset uplift onto the quote line was observed, but not found in the documentation. The term being read in the selling model’s unit was only seen on annual models, not checked for other frequencies. The flow choice in the Revenue Cloud settings wasn’t exposed in metadata: it’s set by hand in every environment. Seen on Summer ’26 and Winter ’27.