How to add constraint msgs for custom data types in the 0th(

Posted by Saar Bhatt on 07-Dec-2016 04:52

I want to add constraint msgs, so that i can show messages instead of some input violation pop-up.

All Replies

Posted by Jan Krishnamurthy on 07-Dec-2016 07:49

You cannot add constraint messages to CDT's. You can just set a constraint expression on the CDT

If the constraint you place on the CDT fails for the rule/rulesheet , the Rule Message Violation/Warning will automatically pop up based on property com.corticon.vocabulary.cdt.relaxEnforcement=true/false

This is an option to relax the enforcement of Custom Data Type Constraints. When set to true, a CDT violation will post a warning message and execution will continue. When set to false, a CDT violation will cause an exception to be thrown halting execution. Default is false (com.corticon.vocabulary.cdt.relaxEnforcement=false)

This thread is closed