Question

2
Replies
753
Views
srikanthv8893 Member since 2018 14 posts
Blue Cross and Blue Shield of Minnesota
Posted: 1 year ago
Last activity: 1 year 2 months ago
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