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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to