tomathome [
http://community.jboss.org/people/tomathome] created the discussion
"Re: WorkItemHandler with jbpm-console"
To view the discussion, visit:
http://community.jboss.org/message/584861#584861
--------------------------------------------------------------
So, I answer my question for selfe again X-(
small instruction how to use selfe created WorkItemHandler in the jbpm-console.
- unzip content of
jbpm-installer/jboss-4.2.3.GA/server/default/deploy/jbpm-gwt-console-server.war into
jbpm-installer/jboss-4.2.3.GA/server/default/deploy/jbpm-gwt-console-server.war directory
- edit
jbpm-installer/jboss-4.2.3.GA/server/default/deploy/jbpm-gwt-console-server.war/WEB-INF/classes/META-INF/CustomWorkItemHandlers.conf
file
[
"Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler(),
*"myhandler": new de.processes.jbpm5.MyNewHandler()*,
]
- copy your .jar library containing the '*de.processes.jbpm5.MyNewHandler()*'
class file into
jbpm-installer/jboss-4.2.3.GA/server/default/deploy/jbpm-gwt-console-server.war/WEB-INF/lib/
Now you can create new bpmn process file containing:
<task id="_4" name="Task using my Handler"
tns:taskName="*myhandler*" >
(...)
</task>
I hope somebody find this hint usefull. :D
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/584861#584861]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]