Posted: 11 Oct 2017 5:23 EDT Last activity: 12 Oct 2017 8:42 EDT
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