Community

Mail template for custom MailProducer

reply from Huisheng Xu in jBPM Development - View the full discussion

Hi kevin,

  You could get MailTemplate using EnvironmentImpl. Like this:

 

 

MailTemplateRegistry templateRegistry = EnvironmentImpl
   .getFromCurrent(MailTemplateRegistry.class);
 
 
 
MailTemplate template = templateRegistry.getTemplate(
   "test-template");

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community