[jboss-user] [jBPM] - Re: registerWorkItemHandler workItemName
Esteban Aliverti
do-not-reply at jboss.com
Fri Aug 19 20:12:52 EDT 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110819/8efe09a8/attachment.html
More information about the jboss-user
mailing list