-
1. Re: how to deploy java implementations for service tasks to BPM Suite workbench?
eschabell Aug 28, 2014 2:38 PM (in response to wangjianwu)1 of 1 people found this helpfulYou are going to want to ask this in the Customer Portal.
-
2. Re: how to deploy java implementations for service tasks to BPM Suite workbench?
krisverlaenen Aug 29, 2014 10:02 AM (in response to wangjianwu)1 of 1 people found this helpfulFirst of all you need your Java class available on the server. Usually, this is achieved by uploading the jar to artefact repo in business central and adding a dependency to this jar in your project (but other alternatives like adding it to your project itself, or adding it to the server classpath are possible as well).
Second of all, you need to register a handler for "Service Task", you could do this at the server level, by editing
jboss-eap-6.1\standalone\deployments\business-central.war\WEB-INF\classes\META-INF\CustomWorkItemHandlers.conf, adding
"Service Task" : new org.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession)
The error you are seeing seems to be because the second step seems to be missing.