Esteban Aliverti [
http://community.jboss.org/people/eaa] created the discussion
"Re: registerWorkItemHandler workItemName"
To view the discussion, visit:
http://community.jboss.org/message/621862#621862
--------------------------------------------------------------
Are you creating your process using some kind of IDE?
Try using a <Task> node instead of a <ServiceTask>. Something like:
<task id="_11" name="Multiply"
tns:taskName="myTaskName">...
Then, in your code you can do:
ksession.getWorkItemManager().registerWorkItemHandler("myTaskName", new
MyTaskNameWorkItemHandler());
You can also try to use 'tns:taskName' attribute in your <ServiceTask> node
to see if it works there too. Please let me know the results.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/621862#621862]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]