Question

1
Replies
248
Views
ArindamChatterj Member since 2015 8 posts
Freelancer
Posted: 2 years ago
Last activity: 2 years 11 months ago
Closed

Generate MS Word Doc and Attach To Case

I am successfully able to generate and download the word document by generating it with the function com.pegarules.generated.pega_appdefinition_documentapp.pzGenerateDocument

Additionally I have a requirement to attach the word document to a Pega case. The url string returned by the function com.pegarules.generated.pega_appdefinition_documentapp.pzGenerateDocument contains * for which Pega Engine APIs to instantiate a PRFIle type object is throwing runtime exceptions.

Also tried with the standard java function new java.net.URL() but unable to create (object null) any URL object from the url string.

If someone has implemented this sort of a requirement kindly suggest

Moderation Team has archived post
Share this page LinkedIn