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/ta...
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/ta...
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&...]