Question

5
Replies
6423
Views
Close popover
Arindam Chatterjee (ArindamChatterjee)
Aaseya IT Services Pvt. Ltd.

Aaseya IT Services Pvt. Ltd.
IN
ArindamChatterjee Member since 2015 8 posts
Aaseya IT Services Pvt. Ltd.
Posted: October 11, 2017
Last activity: October 16, 2018
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