Question

5
Replies
6262
Views
ArindamChatterj Member since 2015 8 posts
Freelancer
Posted: 2 years ago
Last activity: 2 years 7 months ago
Closed
Solved

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**

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.

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn