Hi, In spite of setting the 'to' attribute in the processdefinition.xml, I have found other way out. I have tried custome mail class, but jbpm does not delegates the call to my custom mail class, rather it calls its own Mail.class only. I have taken a normal node, and written my ActionHandler for the node. In the ActionHandler class i have written the following code... ----------------------------------------------------------------------------------- String to = "[EMAIL PROTECTED]"; String text="Success sending mail from jbpm"; String subject="Test mail from JBPM";
org.jbpm.mail.Mail mail=new org.jbpm.mail.Mail(null,null,to,subject,text); mail.send(); ----------------------------------------------------------------------------------- And EUREKA, its working.... Now i can set the contextVariable as the 'to' attribute without using any EL. Please tell me how advisable is this way to send mail? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111095#4111095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111095 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
