Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: understanding taskclient"

To view the discussion, visit: http://community.jboss.org/message/588873#588873

--------------------------------------------------------------
Take a look at the section on domain-specific processes in the documentation:
 
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.1-SNAPSHOT-docs-build/jbpm-docs/html/ch07.html
 
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.1-SNAPSHOT-docs-build/jbpm-docs/html/ch07.html

In short, you have to register a handler that will be used to execute your 
Email node.
In this case, you should make sure you have the jbpm-workitems jar on your 
classpath and add the following line after creating your session:

EmailWorkItemHandler handler = new EmailWorkItemHandler(host, port, userName, 
password);
ksession.getWorkItemManager().registerWorkItemHandler("Email", handler);

Kris
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/588873#588873]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to