Timothy Charman [https://community.jboss.org/people/tcharman] created the 
discussion

"How to Disable CommandBasedWSHumanTaskHandler in CommandDelegate"

To view the discussion, visit: https://community.jboss.org/message/766586#766586

--------------------------------------------------------------
Hi

I have written a different implementation of the human task, as I have a bunch 
of external systems to integrate.  The work item handler extends either side of 
the human task lifecycle.  This works fine when running locally.

But when I deploy to jBPM console server, things go awry because the 
CommandBasedWSHumanTaskHandler is registered with the session in the 
CommandDelegate.  In turn, CommandBasedWSHumanTaskHandler registers a listener 
for human task events, which fire when the human task completes, and restarts 
my workflow, even though I have not included the CommandBasedWSHumanTaskHandler 
in my workflow.

My task handler listens for the same events, but by the time my task handler is 
ready to restart the process, it is too late - CommandBasedWSHumanTaskHandler 
has already started it.

This is really not desirable, as it means the behaviour on the server is 
different than when running locally through Eclipse, and it means I cannot 
contribute any of my own task handlers that interact with the human task 
service.  I see no way to remove the CommandBasedWSHumanTaskHandler 
registration except by forking the code, which I want to avoid.

Anyone any ideas?

Thanks

Tim
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/766586#766586]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to