Loading

CML syntax validation is not enforced when Constraint Models are updated through the Expression Set API

Veröffentlichungsdatum: Sep 15, 2026
Beschreibung

The Constraint Model Builder validates CML syntax before saving a Constraint Model. This validation is not currently invoked when the ConstraintModel field is updated directly through the Expression Set API.

However, the same CML can be stored through the REST API. After the Constraint Model is associated with a product, the Expression Set Version can be activated through the API without reporting a syntax error.

This is a known limitation when Constraint Models are managed directly through Expression Sets.

Lösung

Use the Constraint Model Builder to create or update CML whenever possible because it performs syntax validation before saving.

Nummer des Knowledge-Artikels

005459978

 
Laden
Salesforce Help | Article