Skip to main content

 –

About Constraints rules

Suggest edit Updated on November 15, 2021

Create constraints rules to define and enforce comparison relationships among property values. Constraints rules can provide an automatic form of property validation every time the property's value is "touched", in addition to the validation provided by the property or other means.

The following tabs are available on this form:

The system evaluates constraints automatically each time a property identified in a constraints rule is changed. This technique is known as forward chaining.

Where referenced

No other rules explicitly reference constraints rules. When you save a constraints rule, it is enforced immediately and thereafter. The system automatically adds a message to any property that is present on the clipboard and fails a constraint. This message marks the page containing the property as invalid and ordinarily prevents the page from being saved.

Use the Application Explorer to access the constraints rules that apply to work types in your application. Use the Records Explorer to list all the constraints rules available to you.

After you complete initial development and testing, you can delegate selected rules to line managers or other non-developers. Consider which business changes might require rule updates and if delegation to a user or group of users is appropriate. For more details, see Delegating a rule or data type.

Category

Constraints rules are instances of the Rule-Declare-Constraints class. They are part of the Decision category.

Note the s in the rule type. The Rule-Declare-Constraints rule type replaces the Rule-Declare-Constraint rule type, which is deprecated.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us