Question

2
Replies
376
Views
ThejasriG Member since 2014 12 posts
HCL
Posted: October 25, 2016
Last activity: October 26, 2016
Closed

Generate Multiple PDF's on click of a button

Hi PEDEL, 

We need to generate two PDF's on click of a button and attach them to the case. We are calling an activity  'A' twice to generate 2 PDF's which has the below steps in it. 

Property-Set-HTML

HTMLToPDF

Code-Pega-PDF.View

Code-Pega-PDF.AttachToWork

We are passing different Params to this acticity A for generating both the PDF's. We could see two PDF's are generated but only the last one is being attached to the case.  Please advice what could be the issue ? Also, we have integration with Alfresco CMIS and the two attachments are seen in the CMIS folder too. Why are both the PDF's not being attached ? Why is the second one overriding the first PDF ? 

 

Regards,

Theja

***Updated by moderator: Lochan to update Categories***

Low-Code App Development Reporting User Interface
Moderation Team has archived post
Share this page LinkedIn