Question

2
Replies
1146
Views
srikanth veeraneni (srikanthv8893)
Blue Cross and Blue Shield of Minnesota

Blue Cross and Blue Shield of Minnesota
US
srikanthv8893 Member since 2018 16 posts
Blue Cross and Blue Shield of Minnesota
Posted: June 20, 2019
Last activity: August 22, 2019
Posted: 20 Jun 2019 17:07 EDT
Last activity: 22 Aug 2019 7:19 EDT
Closed
Solved

Word doc generation

I have a simple requirement - generate and download a word document using a template.

I have a Word Template and an Activity with below java code:

try
{
url=com.pegarules.generated.pega_appdefinition_documentapp.pzGenerateDocument("Word Template Name", tools, "Word Template applies to Class", null);
}

catch(Exception e)
{
oLog.error("Letter generation failed : " +url);
}

It doesn't work. Tried different things.

What could be the reason?

***Edited by Moderator Marissa to update platform capability tags****

Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.