[jboss-dev-forums] [jBPM Development] - how to build email of the service task, better give me a sample
stone crasy
do-not-reply at jboss.com
Wed Sep 14 00:02:05 EDT 2011
stone crasy [http://community.jboss.org/people/free] 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-7604
--------------------------------------------------
Connection not initialized for Email,Maybe connection is null ,
CustomWorkItemHandlers.conf could not work?(
i have run
ant clean.demoant install.demo
ant start.demo
)
Then,i modify like this:
EmailWorkItemHandler email =new EmailWorkItemHandler();
email.setConnection(("MySMTPHost","MySMTPPort","MyUsername","MyPassword");
ksession.getWorkItemManager().registerWorkItemHandler("Email",email);
there is not error,but it still not work,who could help me?
ksession.getGlobals() is null.
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110914/8b3a17e9/attachment.html
More information about the jboss-dev-forums
mailing list