Renewing Assets in OnDemand Renewal Mode in the Contract Flow
When Renewal Execution Mode is set to OnDemand, CPQ automatically renews all assets based on the defined Renewal Lead Time. CPQ supports Account mode and Product mode for OnDemand renewal of assets. However, these modes are mutually exclusive, which means you must use only one mode in one org. You may want to renew an existing opportunity in OnDemand renewal mode:
- During one-time legacy asset data migrations
- During one time renewal agreement creation for existing active asset base
- When minimal changes are required on the renewal agreements because of any ABO changes
Account Mode
This mode works based on the global Renewal Lead Time setting in Installed Product Settings. CPQ automatically renews all assets on the account (possibly from different agreements) based on the defined global Renewal Lead Time after you click a custom button on the account.
The following diagram describes the flow of OnDemand renewals. In this diagram, Renewal Lead Time is 120 days.
Over a period of time, you sell some products/services through different agreements, which might have varying end dates. After the original agreements are converted into orders and the order are activated, assets are generated. All assets are visible on the account. When you want to renew the assets that will expire in 120 days from today, you click the custom button on the account. CPQ compares the asset line items' end dates with the Renewal Lead Time defined and triggers the creation of renewal agreements for all those assets (from different agreements) that will expire in 120 days.
Prerequisites
- The Renewal Business Object Type is set to Agreement.
- The Renewal Execution Mode is set to OnDemand.
- A custom button is created on the account or a custom link is created on the quote.Note:
If the custom button is on the account, you can renew all assets in the account based on the defined Renewal Lead Time. If the custom link on the quote, you can renew assets from a quote based on the defined Renewal Lead Time.
- The Renewal Lead Time is defined.
- The Renewal Group Fields are defined.
- The AssetRenewalJobScheduler batch job is scheduled.
How OnDemand Renewal Mode Works in Account Mode
Product Mode
This mode works based on the product-level Renewal Lead Time. CPQ automatically renews all assets (possibly from different agreements across all accounts in the org) based on the defined product-level Renewal Lead Time after you execute a code in Developer Console.
Prerequisites
The Renewal Business Object Type is set to Agreement.
The Renewal Execution Mode is set to OnDemand.
The Renewal Lead Time is defined for the required products. See Creating Products. For example, there are two products with the Renewal Lead Time of 20 and 40 days.
The Renewal Group Fields are defined.
The AssetRenewalJobScheduler batch job is scheduled.