Hi everyone,
I’m currently working with Pega Constellation 25 and need some guidance on populating a table in a Correspondence.
I have a Page List named DisputeCaseList on my pyWorkPage. Each page in the list contains a Transaction page with properties such as MerchantName, TransactionDate, and Amount.
The clipboard structure looks something like this:
The clipboard structure looks something like this:
pyWorkPage
DisputeCaseList
DisputeCaseList(1)
Transaction
MerchantName
TransactionDate
Amount
DisputeCaseList(2)
Transaction
MerchantName
TransactionDate
Amount
...
My requirement is to generate a correspondence (mail) that contains a table where each row is populated from one entry in DisputeCaseList.
For example:
| Merchant Name | Transaction Date | Amount |
|---|---|---|
| ABC Store | 2026-07-01 | 125.00 |
| XYZ Shop | 2026-07-03 | 80.50 |
I’ve been trying to find a way to iterate over the Page List within the Correspondence, but I haven’t found any documentation or examples specific to Constellation 25.
My questions are:
- Is it possible to repeat table rows in a Correspondence using a Page List in Constellation 25?
- Is there a built-in repeat/loop capability for correspondence templates?
- If not, what is the recommended approach to generate a dynamic table from a Page List?
Any examples, best practices, or documentation would be greatly appreciated.
Thank you!
