Question
How to refer list rule on Correspondence
Hello Team,
I've an requirement to send list of loans through email. I want to configure Corr rule. But, not sure how to loop page-list with corr rule to show list of loans.
I tried with HTML stream rule instead of Property-Set-Corr rule, created an activity SendEmail. The HTML stream rule s calling a section which has repeat grid source as a report rule to show list of loans. But it doesn't work when agent trigger the same activity (SendEmail) and generating empty mail.
I wanted to try with Property-Set-Corr rule but not sure how to refer list rule on Correspondence. Thanks!
***Edited by Moderator Marissa to update categories***
You can click on Source of the correspondence rule and directly write Java Scriptlet for your iteration conditionally,
Though it isn't exact implementation, it will help you in understanding a way
<%
ClipboardPage Page= tools.findPage("pyWorkPage/<YourPageList>");
String strDefFlow = "";
strDefFlow = Page .getString("ID/<YourProperty>");
tools.getParameterPage().putString("ID", strDefFlow );
%>
Refer it:-https://pdn.pega.com/community/product-support/question/how-refer-parameterized-data-page-correspondence
Hope it assists you.
Regards,
Asif