[jboss-user] [jBPM Users] - Question and remark about mail-templates

sebastian.s do-not-reply at jboss.com
Mon Oct 12 03:50:52 EDT 2009

Good morning,

I got a question and a remark regarding mail-templates.

First of all I neither like the idea of storing the templates inside the process definition nor inside the jbpm configuration. Okay, for templates with are used in several process definitions this is probably a good solution but if you happen to have complex templates or if they should be changeable easily without having to deal with process definitions or jbpm-configuration an extra file would be comfortable.

So what about an extra file coming within the business archive and storing process specific mail-templates using the same mechanism to reference them as done in process definitions with templates which have been defined in your jbpm configuration?

Now my problem:

I am using a jbpm setup on Tomcat and I am using the ant task to deploy my process definitions. I wanted to use mail templates defined in the jbpm-configuration on Tomcat and I ran into a problem.

I am not sure if the jbpm.cfg.xml I changed is really used by the set-up ( install/generated/cfg/jbpm.cfg.xml) because when I tried to access the process definitions I got an exception telling me that the mail-templates could not be found. 

The template seems to be fine because to deploy my process definition to the database I had to put the mail-template definitions in the "local" jbpm-configuration (so not the one used on the server) to make the ant-task work.

Kind regards

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259791#4259791

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259791

More information about the jboss-user mailing list