Tom,
The templating email producer will extend the scriptable mail producer.
It will just add in reading from the template to populate body, subject, and optionally
the script language tags.
The scriptable email producer calls:
| ScriptManager scriptManager = Environment.getFromCurrent(ScriptManager.class);
|
| this.body = (String)scriptManager.evaluateScript(this.body, exe, language);
| this.subject = (String)scriptManager.evaluateScript(this.subject, exe, language);
|
So, the templating will support whatever kind of scripting jBPM supports.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224722#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...