This content has been marked as final.
Show 1 reply
-
1. Re: Where is the CustomWorkItemHandler.conf file
abhijithumbe Jul 14, 2015 5:37 AM (in response to biswajit.sarkar)Hi,
CustomWorkItemHandlers.conf is not shipped with BPMS 6.1.Its documentation bug and reported in BZ-1242854 . In 6.1 release we can register WorkItemHandler using kmodule.xml or kie-deployment-descriptor.xml.
Kmodule.xml:
~~~~
...
<workItemHandlers>
<workItemHandler name="Test2" type="new com.redhat.sample.workitem.handler.DemoWorkItemHandler()"/>
</workItemHandlers>
...
~~~~
kie-deployment-descriptor.xml.
~~~~
<work-item-handler>
<resolver>mvel</resolver>
<identifier>new org.jbpm.process.workitem.rest.RESTWorkItemHandler("", "")</identifier>
<parameters/>
<name>Rest</name>
</work-item-handler>
~~~~