Question

Index and Search Nested Page Lists

Scenario :

During the Case Processing in the pyworkpage of the case we have a Data in Page List within a Page list . Example : Journey -> Journey List .

For a given customer there can be multiple Journey and for each Journey there can be multiple Journey Lists .

We are looking to design a solution where we can expose these Page lists and also search them using some of the page list properties (from both parent and child page lists).

Solution :

Option 1 : Create 2 Declare Index for 2 page lists . ( How do we link these 2 page lists)

Option 2: Create 1 Declare Index for 2 page lists ( is this possible ?)

Kindly share your thoughts on how to approach this .

***Edited by Moderator: Lochan to update platform capability tags***

Correct Answer
September 23, 2019 - 5:26am

I have implemented this using Solution 1 , with 2 declare index .

The link between them is the case id(pxinsindexedkey) , with which i can retrieve matching lists from the 2 different tables. 

I used report definition with sub-reports on Index tables to retrieve the information . 

Regards, 

PJ 

Comments

Keep up to date on this post and subscribe to comments

Pega
September 16, 2019 - 1:19am

Hi 

Please refer to the below article, might give some food for thought or to try out

https://community1.pega.com/community/pega-product-support/question/indexing-embedded-property

Pega
September 23, 2019 - 5:26am

I have implemented this using Solution 1 , with 2 declare index .

The link between them is the case id(pxinsindexedkey) , with which i can retrieve matching lists from the 2 different tables. 

I used report definition with sub-reports on Index tables to retrieve the information . 

Regards, 

PJ