Back Forward More about Validate rules

About Validate rules

This rule type lets you change the editing for input fields on an HTML form without creating a possibly complex activity. Rather than modifying an activity, you can tailor the validate rule that determines how inputs in an HTML form are edited.

Use the Obj-Validate method in an activity to reference validate rules and cause Process Commander to run them.

Example

For an example, see Pega Developer Network articlePDN PRKB-25148 How to create an use a validate rule.

Java code display

When you save a validate rule, the system converts the rule to Java source code. As a learning or debugging aid, you can review this Java code.

C-1665Click the Show Java toolbar buttonShow Java to see the system-generated Java code that implements the validate rule logic. The window presents a read-only preview of the Java that implements this rule instance. This Java code is not identical to the Java that executes at runtime, which includes Java code inlined from other rule instances and reflects rules in the requestor's RuleSet list.

Related topics About Edit Validate rules
 Obj-Validate method
Standard rules Atlas — Standard validate rules

UpAbout Validate rules