I am new to Pega (Using Pega 7.2) and having hard time figuring the below thing.
How to write an activity that runs a report definition ( I used "call Rule-Obj-Report-Definition.pxRetrieveReportData" to run the report") but struggling to convert the output into PDF and email it to users. Also, I tried using "Call Rule-Obj-Report-Definition.pzRDExportWrapper" activity, but it doesn't save the file onto the file location specified. I am unable to use the pdf output generated by pzRDExportWrapper to email.
Any help is highly appreciated.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
You can follow the below steps to achieve your requirement.
1. Create a section keeping Repeating Grid layout by referring Report Definiton as source to the grid.
2. In Activity Call pxCreatePDF to generate PDF by passing above section name as parameter.
3. Then Call SendEmailWithAttachments to send a mail.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.