Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Learn About Real-Time Offer Management
Create Constant Resources

Create Constant Resources

If your variables lack context tags, create a constant resource to serve as a placeholder for fixed values in your pricing procedures. Constants are used for inputs, outputs, and other values passed from a pricing element.

Required Editions

Available in: Lightning Experience
Available in: EnterpriseUnlimited, and Developer Editions with Real-Time Offer Management

To create the CartPromotionEvaluationAndExecution pricing procedure, you must create these constant resources.

Name Data Type Value
DiscountType Text Amount or Percent
DistributionLogic Text Equal or Proportionate
DistributionType Text NetUnitPrice or ItemNetTotalPrice
Create the required constant resources.
 
Loading
Salesforce Help | Article