Question

2
Replies
813
Views
srikanthv8893 Member since 2018 16 posts
Blue Cross and Blue Shield of Minnesota
Posted: June 20, 2019
Last activity: August 22, 2019
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
Share this page LinkedIn