Loading

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

Fecha de publicación: Sep 15, 2026
Descripción

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.

Solución

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

Número del artículo de conocimiento

005459978

 
Cargando
Salesforce Help | Article