-
1. Re: JBPM workItemHandlers
salaboy21 May 13, 2014 4:44 AM (in response to ajgillette98)Hi there, which version of jBPM are you using?
Maybe this post will help you with the configurations: http://salaboy.com/2013/10/22/kie-wb-jbpm-console-ng-configurations/
-
2. Re: JBPM workItemHandlers
ajgillette98 May 13, 2014 9:10 AM (in response to ajgillette98)Thanks for the reply Mauricio,
I am using JBPM6. I read the article/link but I think my problem is more basic. I found a post last night where the author created a process with a custom service and an associated WorkItemHandler and
everything was contained in the Eclipse project. I downloaded his code and the project worked for me. That would imply that I don't need to explode the console WAR and place my jar files
in the lib directory.
I suspect that I need a basic tutorial on how to create a custom service with an associated WorkItemHandler that can be deployed to JBOSS. The example that I found last night
worked in Eclipse, but I could not figure out what needed to be done to deploy it so that it works from inside KIE.
I have managed to checkout projects that I create in KIE using GIT, but when I make changes and try to submit them back the GIT repo is not updated. That's probably a topic for
another thread.
THE BOTTOM LINE: I am looking for a tutorial on how to create and deploy a custom service with an associated WorkItemHandler for use inside KIE.
-
3. Re: JBPM workItemHandlers
swiderski.maciej May 14, 2014 4:47 AM (in response to ajgillette98)1 of 1 people found this helpfulfor 6.0 and 6.0.1 you still need to place your handler class/jar inside jbpm-console.war/WEB-INF/lib so it can be registered properly. Then the definition of the handler name and class name should be either specified in kmodule.xml or CustomWorkItemHandlers.conf. See docs of RuntimeManager configuration on various options to define handlers. This applies only to version 6 as in 5 it was different mechanism for that.
HTH
-
4. Re: JBPM workItemHandlers
ajgillette98 May 15, 2014 4:13 PM (in response to ajgillette98)ANSWER: The problem turned out to be related to the copious amounts of misleading documentation on the Internet. In the end the solution was to edit the WEB-INF/classes/META-INF/CustomWorkHandlers.conf file and add my tags and the associated classes. I tried adding definitions to the kmodule.xml file, session.template files and nothing worked. I'm not sure why this was so hard to find (8 days total), but all is working now.