JBoss Community

Re: jbpm 5.3 - GenericCommandBasedWSHumanTaskHandler and LocalTaskService, how to use it?

created by Pedro Gonçalves in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community