Mauricio Salatino [
http://community.jboss.org/people/salaboy21] commented on the document
" how to build email of the service task,better give me a sample "
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-17188#comment-7595
--------------------------------------------------
Do you know how to send an Email with java code? you basically need to embed the same code
inside an implementation of the WorkItemHandler internface. Once you get that you can bind
the WorkItemHandler to the knowledge session
(ksession.getWorkItemManager().register("Email", <your implemenatation of the
work item handler interface>)) and add a task node to your process with the
tns:name="Email". That's it :)
Cheers
--------------------------------------------------