[jboss-user] [jBPM] - Re: understanding taskclient
Kris Verlaenen
do-not-reply at jboss.com
Mon Feb 21 21:59:49 EST 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110221/0b0f9597/attachment.html
More information about the jboss-user
mailing list