Newer Version Available

This content describes an older version of this product. View Latest

Debugging Constraint Modeling Language (CML)

To debug constraint models and troubleshoot performance issues, enable debug logging in Apex and set the debug log level to FINE.

For more information on debug logging in Salesforce, see these topics in Salesforce Help:

Use the Apex log to get information about configurator engine performance when running a constraint model, including performance degradation or unexpected behavior. To improve performance, modify the constraint model based on information in the log.

For tips on writing trouble-free CML, see Constraint Modeling Language (CML) Best Practices.