npoczynek [https://community.jboss.org/people/npoczynek] created the discussion
"Re: Custom work handler not found in classpath" To view the discussion, visit: https://community.jboss.org/message/798593#798593 -------------------------------------------------------------- Sure, here's the content of CustomWorkHandlers.conf: [ "Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler(), "Email" : new com.sample.NewEmailHandler(), ] Also in drools.session.conf: drools.workItemHandlers = CustomWorkItemHandlers.conf I'm currently using the default constructor - I hard-coded user information temporarily to make sure there are no errors in passing arguments. I made a project yesterday using the eclipse editor where I was able to use this handler successfully after a call to ksession.getWorkItemManager().registerWorkItemHandler("Email", NewEmailHandler); -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/798593#798593] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
