Loading

Revenue Cloud add product to Quote error "Something went wrong while hydrating additional context fields."

Data pubblicazione: Feb 4, 2025
Descrizione

When users try to add a Product to Quote, they may be getting the below error:

Something went wrong while hydrating additional context fields. : Cannot invoke "industries.context.api.service.model.runtime.schema.impl.defaultimpl.DefaultContextRuntimeEntityAttribute.getTags()" because the return value of "java.util.Map.get(Object)" is null. 

This error usually indicates an issue with the Context Definition associated with a Default Pricing Procedure (that is specified in Setup | Revenue Settings), which may include: 

  • out-of-sync context definition
  • Context definition may have been cloned instead of extended
  • Context Definition was created by a User without Context/Pricing Permissions
Risoluzione

To resolve the issue, try the following:

  1. Check if the Context Definition is out-of-sync
    1. From Setup | Context Definition | Custom Definitions, find the affected Context Definition and check if 'Sync' button is available. If it is, click 'Sync' 
  2. Check to see if the Context Definition was inadvertently Cloned instead of Extended: 
    1. From Setup | Context Definition | Custom Definitions, find the affected Context Definition. 
    2. From Details Tab, Ensure that 'Inherited From' field is populated. If it's not, then it's likely a cloned Context Definition that may have unexpected behavior, and it will need to be re-extended (see below)
  3. Re-extend the Context Definition(This may be required if the existing Context Definition was created by a User who may not have had the necessary Pricing/Context-related Permissions)
    1. Login as a user who has at a minimum these permission sets:  
      1. Price and Tax Calculation for Quoting
      2. Salesforce Pricing Admin
      3. Salesforce Pricing Design Time User
      4. Salesforce Pricing Run Time User
      5. CalculatePrices API
      6. Salesforce Pricing Manager
      7. ProductAndPriceConfiguration API
    2. Re-extend the Context Definition using steps from this Help Article 

 

Numero articolo Knowledge

004141359

 
Caricamento
Salesforce Help | Article