I'm trying to define my own work items and work item handlers as described in the jBPM user guide on domain specific processes. It worked once. When I restarted eclipse they were no longer visible. The bpmn2 files that use my work items still have the properties available in the property view but the tool palette doesn't show the custom task drawer and new jbpmn process diagrams also do not show the custom task drawer.
To try and fix this I have rebuilt my eclipse from scratch (both kepler and luna versions). Re-added all the jbpm/drools and bpmn2 modeler plugins. Created new jbpmn runtime instances but all with no luck.
I did discover that if I open the diagram with the older version of the bpmn modeler (right-click on the file in eclipse, open with -> BPMN2 Process Editor) then the Service Tasks draw appears with my custom work item but that UI is very difficult to work with when setting attributes and properties.
What do I have to do to re-enable the Custom Tasks drawer in the BPMN2 Diagram Editor? Everything that I have read just assumes that as long as you have the drools.rulebase.conf file in the META-INF directory of your project with the drools.workDefinitions property in it then the drawer will show up the next time you open a bpmn file. I did find one bug post here that talks about ensuring you use the correct diagram type when creating new but I am already doing that.
My current eclipse environment is:
- Kepler 20140224-0627
- BPMN2 Modeler - Diagram Editor 1.0.5.Final
- JBoss Drools Core 6.2.0.Final
- JBoss jBPM Core 6.2.0.Final