[jboss-user] [JBoss jBPM] - Sending mail to multiple actors in AssignmentHandler...
ardavan
do-not-reply at jboss.com
Wed May 20 11:29:49 EDT 2009
Hi
I am using a jbpm "mechanism" to send email.
I am using it in an AssignmentHandler:
String groupNameId =
| ldapService.assignTaskToGroup(GROUPNAME, code);
| assignable.setPooledActors(new String[] { groupNameId });
| System.out.println("Assigned to " + groupNameId);
|
| // Send email to each user in the group
| String to = ldapService.getGroupMembersEmail(groupNameId);
| CustomMail mail = new CustomMail("task-assign",null, to, null, null);
| mail.execute(executionContext);
|
I just wanted to know if I'm not doing anything bad.
thank you
Ardavan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232294#4232294
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232294
More information about the jboss-user
mailing list