Loading

Salesforce CPQ Error 'Disjunctions not supported'

Julkaisupäivä: Sep 15, 2025
Kuvaus
The error points to the use of Custom Metadata type as a Lookup Object in Price Rules where multiple rules exist pointing to the same object. Multiple rules will create OR conditions when the rules are evaluated against the same object. There are certain limitations that Salesforce implements when querying Custom Metadata Type.

Example Use Case:
  1. Create a Price Rule where Lookup Object = Custom Metadata Type
  2. Create a LookUp Query pointing to a custom field
  3. Create a second Price Rule where the Lookup Object is the same as #1
  4. Create a LookUp Query pointing to a different custom field

When the rules are evaluated, this will create a single query such as:
 
Select From Custom Metadata Type Where ((((custom field 1 = some value))) OR (((custom field 2 = some value))))
 
There is a compound OR filter on different columns and this is a limitation in regards to querying a Custom Metadata Type. When using two or more rules for the same Custom Metadata Type, using two or more different Custom Metadata fields for the Lookup Queries’ Lookup field is not supported.
 
Ratkaisu
When using Custom Metadata Type in Rules, use a single rule for the Custom Metadata Type. In the Lookup Query, you can use different Lookup fields.

Please review Price Rules Considerations and Custom Metadata Types Limitations for more information.
Knowledge-artikkelin numero

000389624

 
Ladataan
Salesforce Help | Article