Yarr P. [https://community.jboss.org/people/groopk] created the discussion

"Re: Domain Service task default work item handler is not working if added 
through META-INF/*.wid file"

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

--------------------------------------------------------------
Can't tell if this is exactly what you are after, but you can try it-

Shut down the server, then use 7-zip (or whatever tool you like) to open the 
jbpm-gwt-console-server.war\WEB-INF\classes\META-INF\CustomWorkItemhandlers.conf
 and add a line in like:

{code}
[
  "Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler(), 
   "SampleTask" : new com.sample.SampleTaskWorkItemHandler() 
]
{code}

Then jar up your SampleTaskWorkItemHandler class files and put them in the 
jbpm-gwt-console-server.war\WEB-INF\lib directory. Start up your server, then 
your SampleTask WorkItemHandler should be available to use without registering 
the handler from a ksession.

On a related note, I put in a jira to ask them to update their docs with this 
info, because it was not at all obvious how to do this. You can vote for it if 
you like:  https://issues.jboss.org/browse/JBPM-3931 
https://issues.jboss.org/browse/JBPM-3931
--------------------------------------------------------------

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

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