Table of Contents

Within a Repeating Layout, Filter the Results Shown

Summary

Using conditional statements, you can filter the results displayed in a repeating layout.

Start

 

For example, in a repeating layout which shows bank account information, the results can be filtered based on criteria such as account type or balance.

 

Suggested Approach

Note: The repeating layout must be defined in a Section rule.

To filter the results of a repeating layout:

  1. Create a When rule that will specify the criteria for the filter. This When rule needs to be created in the same class as the Page List or Page Group for which the Repeating Layout is defined. The When rule in this example is defined as follows:
    when
  2. On the Repeating Layout Properties Panel, navigate to the Body tab. Locate the Visible When field.
    Properties Panel
    Using the SmartPrompt, select the When rule you defined for the purpose of filtering the results. By default, PRPC will locate When rules within the context of the Page List or Page Group.
  3. The result is a list that has been filtered using the criteria defined in the When rule.
    End
    It is important to note, however, that all results in the Page List are processed and appear on the clipboard, and that only those meeting the When criteria are displayed.
    Clipboard

 

Suggest Edit

100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.