Created attachment 1128436 [details] service operation screen shot Description of problem: See attached screenshots. Service task exposes service implementation and service interface fields, but not service operation dialogue. Version-Release number of selected component (if applicable): JBDS 8.1. - Plugin version 1.1.4.Final How reproducible: Interesting question. If I create a new process and follow the steps below, then I get this result 100% of the time. However; when experimenting I have created scenarios where the service operation is available and the service interface is not. Steps to Reproduce: 1. Install bpm and rules dev tools 2. Create New -> jbpm process 3. Create service task 4. Open Properties -> service task tab Actual results: See attached screen shots Expected results: Same form as in screenshot with a service operation field Additional info:
Created attachment 1128437 [details] service task general screen shot
Justin, in your screenshots, there is field for service operation. Can you be more precise where is the problem?
Apologies the language is confusing. I mean to say the method on the Java Class that is to be invoked by the Service task. The Java class is covered in the "implementation" field, but there is no place for the method of that class.
Thanks Justin, I see the problem now. To the time the bug will be fixed, try to use workaround. In the 'Interfaces' tab in process properties, you can import any interface (java class) and select also which operations of this class to import. Then you will be able to select imported operation in 'Service Task' tab in service task properties.
Jozef, I can't seem to find the workaround you are suggesting. What version of eclipse are you using? What version of the bpmn2 diagram editor plugin are you using?
Justin, if you want to check latest BPMN2 Modeler, you can do it with "Eclipse Mars". There you can install latest BPMN2 Modeler by this update site: http://download.eclipse.org/bpmn2-modeler/updates/mars/1.2.3/ And now back to workaround I mentioned. Please follow these steps. 1. Create new bpmn2 process 2. Open properties of process 3. Select tab 'Interfaces' 4. Click 'Import' - second button from the left 5. In 'Browse for a Java Type to Import' type full name of class you want to use 6. Select this class in 'Java Types' field 7. In 'Available Methods' field select operations you want to use There will be operations, which have signature taking exactly one argument 8. Optionally you can create process variables 9. Confirm with ok 10. Now open properties of some Service Task 11. In combo box 'Operation', there will be available operations you selected in step 7. I hope this will be helpful for you. And last comment from my site. Please read referenced Eclipse Project Bugzilla. There bob explained quite well where was the problem. Let me know your progress.