Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created 
the discussion

"Re: Exposing WorkItemHandler as an EJB (3.1) and referencing that work item 
handler from the BPMN process definition"

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

--------------------------------------------------------------
Lukasz, the common way for including custom work item handlers for jbpm/brms in 
version 5 is to place the libs into the 
jbpm-console-server/business-central-server war, inside WEB-INF/lib so the jbpm 
runtime engine can find it. Then you need to register them on the ksession and 
that is again done via files bundled in the *-server.war. Inside 
WEB-INF/classes/META-INF folder you should find CustomWorkItemHandlers.conf 
file, you need to add your custom work item handler there in following form:

"NAME OF THE WORK ITEM": new FullyQualifiedClassName()

if there are any entires already defined just add them as next element of the 
array. This is MVEL file and you should be able to use ksession as constructor 
argument if you need access to ksession inside your work item handler.

HTH
--------------------------------------------------------------

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

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
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to