Pedro Gonçalves [
https://community.jboss.org/people/pgoncalves] created the discussion
"Re: jbpm 5.3 - GenericCommandBasedWSHumanTaskHandler and LocalTaskService, how to
use it?"
To view the discussion, visit:
https://community.jboss.org/message/744869#744869
--------------------------------------------------------------
Sorry, my bad! I didn't mentioned that the local task service was previously
created...
1. In the docs (13.2.2) says that "If you are using persistence, you should use
CommandBasedWSHumanTaskHandler"
As I did not find the CommandBasedWSHumanTaskHandler, I thought that
GenericCommandBasedWSHumanTaskHandler was the replacement
The GenericCommandBasedWSHumanTaskHandler accepts a TaskClient as a client
(TaskClient implements AsyncTaskService) but the LocalTaskService implements TaskService.
So it does not match
2. If I understand you, I should not use the GenericCommandBasedWSHumanTaskHandler but
LocalHTWorkItemHandler instead?
I've got the LocalHTWorkItemHandler from the github, and I realize that I also
need to reimplement the GenericHTWorkItemHandler. But GenericHTWorkItemHandler has 2
errors and I realize that I would have to reimplement the ContentMarshallerHelper and
TaskService, should I do this? Or should I use the jbpm-human-task-core 5.4 Snapshot?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/744869#744869]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]