Mare Geldenhuys [
http://community.jboss.org/people/mgeldenhuys] created the discussion
"Re: registerWorkItemHandler workItemName"
To view the discussion, visit:
http://community.jboss.org/message/621845#621845
--------------------------------------------------------------
Hi Tobias,
I think the registerWorkItemHandler method accepts the name of the node itself, and not
the type of node as specified in the javadoc. Therefore
I think your code should be (if you are registering the workItemHandler with the
"Hello" node):
ksession.getWorkItemManager().registerWorkItemHandler("Hello", new
MyOwnServiceHandler());
Or it might be that the javadoc refers to the name of the node as the type, or it might be
a bug. But I think that should probably work.
Mare
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/621845#621845]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]