Community

Mail template for custom MailProducer

reply from Kevin Moodley in jBPM Development - View the full discussion

Thanks Huishengrebody,

 

Your technique to get the template worked but I was not sure where to put this code. For now, I  tested it by putting your code in the CustomMailProducer default constructor. I could move it into the produce() method, but I was wondering if there was a dynamic way to get the template name - maybe from the Execution?

 

How does the default MailProducerImpl get the template name?

 

Thanks

Kevin

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community