[jboss-user] [jBPM] - Re: Could not find work item handler

Tobias Wittur do-not-reply at jboss.com
Thu Aug 11 05:15:30 EDT 2011

Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion

"Re: Could not find work item handler"

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

Thanks for your help.

I did that before, like this:

ksession.getWorkItemManager().registerWorkItemHandler("MyServiceTask", *new* MyServiceTaskHandler());

I also wrote the handler class. However, it is still looking for the wrong handler.

When I open the bpmn file in eclipse and check for the connected action entry for this particular task, it shows

org.drools.process.instance.impl.WorkItemImpl workItem = *new* org.drools.process.instance.impl.WorkItemImpl();
workItem.setName("Send Task");

When I change the setName function to MyServiceTask and reopen the bpmn file, it changes it back. So it must fetch this from somewhere ...

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110811/c245e3f2/attachment.html 

More information about the jboss-user mailing list