pzRDExportWrapper OOTB activity writing only 1 row to Excel
We have requirement to send the report in an excel format. As we have some external emails to use we did not use the Report Browser. Created one agent and in the agent activity by using pzRDExportWrapper generated an excel , creating an attachment page and sending an email. But in the email i am getting only 1 row. If i run the activity manually i am getting all the records in the excel but when we run through the agent getting only 1 record in the excel.
Thanks for respondig to it. I used pzRDExportWrapper not the pzViewExportToExcel. pzRDExportWrapper has call to some internal API "com.pega.pegarules.priv.desktop.reporting.export.ReportExportHandler.doExport(pega.getPrimaryPage(), pega)". Seems this is doing all the things. I traced it and i can see more than one record in the RD page(144 in my case).
Attached my tracer log. Can you please look into it.