[jboss-user] [JBoss jBPM] - sending emil in using JBPM

shantanu.u do-not-reply at jboss.com
Mon Nov 24 14:05:36 EST 2008


Apologies if these have been answered before. I'm really pulling my hair out trying to figure out how to send an email via JBPM.

I've read this file in the JBPM download :
jbpm-jpdl-3.2.2/doc/userguide/html/mail.html

My requirement is simple - send an email when a process transitions to another <task-node>

	<task-node name="A" end-tasks="true">
		
           		<assignment pooled-actors="approver"/>
		
		
		
	</task-node>

	<task-node name="Manager" end-tasks="true">
       -->     I want to send an email here - when JBPM transitions process to this node.

		
           		<assignment pooled-actors="otherActor"/>
		
		
	</task-node>

Here are the problems :
1. How do I achieve the above ? I gather there are 3-4 ways, but I would appreciate it if someone can tell me the correct way. I've only worked on JBPM for 3 days.
2. Where do I specify the mail server, user id, password - this is where I've hit the roadblock. I know the file is jbpm.cfg.xml. But what are the variable I need to specify. Or do I need to use mail-service.xml of JBOSS AS ?

The documentation is just not helpful.

Thanks very much.

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

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



More information about the jboss-user mailing list