Loading

Salesforce Revenue Cloud: "Data Value Too Large" error when constraint engine node status or generated template name exceeds field character limit

Publiseringsdato: Jul 20, 2026
Beskrivelse

This article applies to Revenue Cloud Advanced (Transaction Management and Product Configurator) on Enterprise, Unlimited, and Developer editions with a Revenue Cloud Growth or Revenue Cloud Advanced license.

 

The error message "Data Value Too Large" followed by a field reference appears in the following scenarios:

**Cause 1 — ConstraintEngineNodeStatus__c field length is insufficient.** When the Constraint Rules Engine evaluates bundles with many components, it writes verbose status data to ConstraintEngineNodeStatus__c. If this field is configured as Text (255) or a short Text Area, the output is truncated or the write operation fails with "Data Value Too Large." This field exists on QuoteLineItem, OrderItem, and AssetActionSource objects.

 

**Cause 2 — Quote template name pattern exceeds the Name field character limit.** When an OmniScript or Flow generates a quote template name using a dynamic pattern, the resulting string may exceed the 80-character limit of a standard Name field or the configured limit of a custom Text field, causing the record save to fail.

**Cause 3 — Product Attribute Definition min/max character count properties are not enforced at runtime.** The minimum and maximum character count values set on a Product Attribute Definition in Product Catalog Management are metadata descriptors only. The Constraint Rules Engine does not read these properties as runtime validation rules. Customers expecting these limits to block invalid input in the Configurator UI will find the restriction has no effect without an explicit authored constraint.

Løsning

The following steps resolve each cause independently. Identify the cause matching the observed failure before applying steps.

 

---

 

**Cause 1: Increase ConstraintEngineNodeStatus__c field length to store full constraint engine output**

1. Navigate to **Setup > Object Manager > Quote Line Item [QuoteLineItem] > Fields & Relationships**.

2. Locate **ConstraintEngineNodeStatus__c**. Note the current field type and length. A Text (255) or Text Area configuration with a length under 5000 will produce this error.

3. Delete the existing field and recreate it as **Long Text Area** with a length of **131072** (the maximum allowed). Set the field API name to **ConstraintEngineNodeStatus__c**.

4. Repeat step 3 on the **Order Product [OrderItem]** and **Asset Action Source [AssetActionSource]** objects if those objects also carry ConstraintEngineNodeStatus__c.

5. Set field-level security on all three objects to grant **Read** access to all profiles and permission sets that run the Product Configurator.

6. Navigate to the active **Sales Transaction Context Definition**. Open the **SalesTransactionItem** node and confirm that the ConstraintEngineNodeStatus attribute is mapped to the updated ConstraintEngineNodeStatus__c field in the Quote Entities Mapping, Order Entities Mapping, and Asset Entities Mapping sections.

7. **Activate** the context definition after confirming all mappings are correct.

8. Re-run the Product Configurator on a quote containing a complex bundle and confirm no "Data Value Too Large" error appears.

 

---

 

**Cause 2: Shorten or truncate the quote template name generation pattern**

1. Navigate to **Setup > Object Manager** and open the object that stores the generated template name record (for example, Document Template [DocumentTemplate] or the relevant custom object).

2. Identify the **Name** field or custom field storing the generated name. Standard Name fields have a maximum of **80 characters**. Custom Text fields have a configurable limit up to 255 characters.

3. If the field is a standard Name field, edit the OmniScript or Flow that generates the template name to truncate output to 80 characters or fewer. Apply a substring function at the point where the name string is assembled:

 

LEFT(generatedName, 80)

This formula trims the generated string to the first 80 characters, preventing the record save from exceeding the Name field limit.

4. If the field is a custom Text field, increase the field length in Object Manager to accommodate the longest expected template name, up to 255 characters for a Text field or 131072 for a Long Text Area field.

5. Generate a quote template using the longest possible name pattern and confirm no error occurs.

---

**Cause 3: Author explicit constraint rules to enforce attribute string length in the Constraint Rules Engine**

 

1. Open the **App Launcher** and navigate to the **Constraint Models** tab.

2. Open the relevant constraint model and click **Sync** to pull the latest product and attribute metadata from Product Catalog Management.

3. In the **Visual Builder** or **CML Editor**, add an explicit validation rule to enforce string length on the attribute. The following example CML enforces a minimum of 3 characters and a maximum of 50 characters:

 

require length(AttributeName) >= 3 AND length(AttributeName) <= 50

Replace `AttributeName` with the API name of the product attribute being validated. This rule causes the Configurator to block any attribute value that falls outside the defined length range at configuration time.

 

4. **Save** and **Activate** the constraint model.

5. In the Configurator UI, enter an attribute value shorter than the minimum and a value longer than the maximum. Confirm the constraint rule blocks both inputs and surfaces a validation message.

Knowledge-artikkelnummer

005389283

 
Laster
Salesforce Help | Article