[jboss-user] [jBPM] - Re: WorkItemHandler with jbpm-console

tomathome do-not-reply at jboss.com
Wed Feb 2 04:36:00 EST 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110202/0f21f25f/attachment.html 


More information about the jboss-user mailing list