Identifying rules not using lightweight lists

Use the Lightweight Lists utility to report on rules in your application that are using page lists where they could use lightweight lists instead. You can improve system performance by using lightweight lists. The utility searches list view rules and summary view rules, plus Obj-Browse and LookupList activities.

Access the form from the Dev Studio header by clicking Configure > System > Performance > Rules not using lightweight lists. The form displays a tab for each type of rule and displays a list of instances where lightweight lists can be used. You can click a link to access each instance, check the Use Lightweight List check box, and save the rule. For Lookup lists rules, enter true in the useLightweightList field.

CAUTION:
Before enabling lightweight list usage for your rule or activity, consider the processing performed by your current page list. If it utilizes features such as forward chaining declarative processing, messaging, value vetting, or other features not supported by lightweight lists, you may prefer to leave the setting as is. For more information, see the Pega Community article About lightweight lists.

Dynamic system settings

Two dynamic system settings control the use of lightweight lists. There is a setting each for Pega Platform and application rules:

  • clipboard/lightWeightList/enableForCorePRPCRules - set to true by default.
  • clipboard/lightWeightList/enableForCustomerRules - set to false by default.

When true, these dynamic system settings override any rule-specific settings you change after finding them with this utility. For example, if the system setting is set to true, deselecting the Use Lightweight List check box for an individual rule has no effect. Lightweight list processing is performed for that and all other rules using the lightweight list option.

When either dynamic system setting is set to false, the system honors the setting for each rule and either uses or does not use lightweight list processing according to the setting on the rule form.

List Views tab

The List Views tab displays list view rules in the application defined without the Use Lightweight List check box selected.

Column Description
View Purpose The view purpose defined for the list view. Click the item to open the list view rule form. Click the rule's Content tab to access the Use Lightweight List check box.
Applies To The Applies To class of the rule.
Owner The final key part of the rule. Conventionally, the value ALL is used for a rule available to everyone who has access to the rule.
Updated On The date the rule was last updated.
Updated By The operator who last updated the rule.
RuleSet Name The name of the ruleset containing the rule.
RuleSet Version The version of the containing ruleset.

Summary Views tab

The Summary Views tab displays summary view rules in the application defined without the Use Lightweight List check box selected.

Column Description
View Purpose The view purpose defined for the list view. Click the item to open the summary views rule form. Click the rule's Content tab to access the Use Lightweight List check box in the Report Source section.
Applies To The Applies To class of the rule.
Owner The final key part of the rule. Conventionally, the value ALL is used for a rule available to everyone who has access to the rule.
Updated On The date the rule was last updated.
Updated By The operator who last updated the rule.
RuleSet Name The name of the ruleset containing the rule.
RuleSet Version The version of the containing ruleset.

Obj-Browse tab

The Obj-Browse tab displays a list of activity rules in the application using an Obj-Browse method that does not have the Use lightweight list check box selected.

Column Description
Activity Name The activity name. Click the item to open the activity rule form. Click the rule's Steps tab. Click the Expand actions icon to expand the action parameters for any steps using an Obj-Browse method and select the Use Lightweight List check box.
Applies To The Applies To class of the rule.
Activity Type The activity type.
Updated On The date the rule was last updated.
Updated By The operator who last updated the rule.
RuleSet Name The name of the ruleset containing the rule.
RuleSet Version The version of the containing ruleset.

Lookup List tab

The Lookup List tab displays a list of activity rules using a LookupList that does not have true specified for the lightweight list option.

Column Description
Activity Name

The activity name. Click the item to open the activity rule form. Click the rule's Steps tab. Click the Expand actions icon to expand the action parameters for any steps using Lookup List and enter true in the useLightweightList field.

Applies To The Applies To class of the rule.
Activity Type The activity type.
Updated On The date the rule was last updated.
Updated By The operator who last updated the rule.
RuleSet Name The name of the ruleset containing the rule.
RuleSet Version The version of the containing ruleset.

System performance landing page