More about Class rules
Plan well before creating class rules, keeping in mind the following features and limitations.
The term class refers to a Rule-Obj-Class instance. The terms Java class, Java method, and Java object refer to the Java program files and objects.
A concrete class derived from the Rule- base class is sometimes called a rule type. A concrete class derived from the Work- base class is sometimes called a work type.
Although class rules are associated with a RuleSet and a version, they do not belong to any specific version of that RuleSet.
Locking a RuleSet version (by checking the Lock this Version box) does not prevent later changes to class rules associated with the RuleSet, if any version of that RuleSet is not locked.
When all versions of a RuleSet are locked, you cannot update or delete classes associated with that RuleSet.
If you define a class derived from the Work- base class that is also the name of a class group, complete the Short Description carefully. Choose a description that is meaningful to application users.
Often, all the work types in an application belong to one class group; it is known as a work pool. If you selected
is a class group on the General tab, the Short Description on the Class form appears in the Switch Work Pool selection on the Designer Studio Application menu and on the Work Pool Selector in the Case Manager portal.
For example, for the standard class named PegaSample-, the Short Description is
Special planning and care is required to create the classes that together are to become a class group:
You cannot delete a class rule that contains subclasses or that contains instances.
To delete a class rule, use the Delete a Class tool. Select Designer Studio > System > Refactor> Rules > Delete a Class to start the tool. See About the Delete a Class tool.
If the associated History- class contains no instances, deleting a class that has an associated History- class deletes the History- class too (if it has no instances), and all rules that apply to that class.
You can rename a class, updating all the rules that reference it. Select Designer Studio > System > Refactor> Rules > Rename a Class. See About the Rename a Class wizard.
Caution: Use caution when changing class rules, noting the following conditions:
About Class rules
Open topic with navigation