| ServiceTask with Java [message #949209] |
Thu, 18 October 2012 16:10  |
Tom Kohler Messages: 12 Registered: October 2012 |
Junior Member |
|
|
Hello,
I start start working with the current BPMN 2.0 Diagram Editor in eclipse juno SR1. Befor I worked with the drools/jbpm editor. So I imported some bpmn2 files from it. Then I try to modify a service task. But I cannot modify the method of an service task or change the class. So I try to start from scratch. But it doesn't work. Do I have to import the relevant java class? I try it, but I have some problems. So can anybody tell me how I can add a Java method to the service task or were can I find the necessary information/documentation?
Thanks a lot.
Tom
|
|
|
|
| Re: ServiceTask with Java [message #954583 is a reply to message #954027] |
Tue, 23 October 2012 01:04   |
Tom Kohler Messages: 12 Registered: October 2012 |
Junior Member |
|
|
Of course. It is a very simple example. I describe my steps to create the workflow.
- Create a new BPMN2 Diagram
- Select Diagram Type: Process
- Add ServiceTask between StartEvent and EndEvent
- Klick on the ServiceTask
- Open Properties View for Service Task
Then I am only able to select a available operation from a combobox. But the combobox is empty.
Perhaps I have a inconsistent installation. I try to install BPMN2.0 Model Editor first ( http://hudson.eclipse.org/hudson/job/bpmn2-nightly/ws/org.eclipse.bpmn2.site/target/site) but it does not work. So I searched the internet and found a solution for this problem. I have to install the Eclipse BPMN 2.0 Plug-in ( http://download.eclipse.org/bpmn2-modeler/site/) first. After I install Eclipse BPMN 2.0 Plug-in I have no problems to install also the Editor.
Annother input. I also try the war file for tomcat. With the web solution I can create a ServiceTask with the referenced Class and operation. I export the file and try to open it via the eclipse plugin. It works. But I get a null pointer exception if I try to open the Properties -> Interfaces -> OperationList -> DoubleClick on the operation.
Ahm: Please give me an email - adresse because I am not allowed to add attachements to the topics. Sorry
Thanks Tom
[Updated on: Tue, 23 October 2012 02:43] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03204 seconds