C-1844 Custom fields offer application developers a flexible way to associate a set of labels and values with a rule, for classification or to supplement other facts in the rules.
Custom Fields offer a flexible facility for categorizing rules in an application, or for supplementing rules with metadata. These fields have multiple uses. For example, a file containing design notes, testing notes or change order details can be linked to a rule as the value of a Custom Field.
Custom fields for a rule appear on the right side of the History tab.
Each Custom Field has two parts, a name and a value. The value may be a text string or a file.
Developers can add or delete new Custom Fields for a rule instance, and can change the values. See How to complete and use the History tab of a rule form.
When a rule instance contains a Custom Field of type Text (rather than File), any user or developer who can update the leftmost tab of the rule can also update the text value.
When a decision rule, for example, is delegated to a manager to maintain, the manager can update information in the leftmost tab of the rule and can change the value of Custom Fields. Custom fields appear at the bottom of the header tabs of the rule form. (From the header of the form, you cannot add or delete Custom Fields.)
See:
Your application can customize the presentation of the Custom Fields area on the header of a rule form, to provide audience-specific labels and validation. For more information, see Pega Developer Network article PRKB-17693 How to allow developers to review or update Custom Field values.
A developer can search for rules that contain a specific Custom Field value. Select> Process and Rules > Find Rules > Find by a Custom Field to start a wizard. not working ?
To filter by a custom field value, the custom field must be a database
column in table pr_index_customfields
. If you add new custom
fields and you want to report on them, expose them as columns.
B-21156 KARAF 7/27/06 SR-3872
By default, this facility only searches rules types that belong with the Decision category. Your application can override this behavior by overriding the standard list view rule named Rule-Obj-Class.getCategorizedRules. KARAF 3/21/05
Working with the PegaRULES database — Link- and Index- Tables |