Hello,
I am trying to create a basic Hello example using only Designer/Guvnor. The example process is: Start-->Script Task-->End. I set the script property to System.out.println("Hello jBPM");
The package gets validated and built without errors. I can see the process listed in the jBPM console. However, the instance is not getting loaded successfully.
The jBPM console shows: [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/Hello/instances
The View source shows the following (I bolded the line below):
| <bpmn2:process id="Hello" drools:packageName="defaultPackage" name="Hello" isExecutable="true"> |
| | <bpmn2:startEvent id="_76485EF6-5D06-450C-93A7-4837D93947BE" drools:bgcolor="#ffffff" name=""> |
| | <bpmn2:outgoing>_F9673937-BB10-495D-9E7F-69C152957175</bpmn2:outgoing> |
| | </bpmn2:startEvent> |
| | <bpmn2:endEvent id="_B056BC69-D311-480D-8635-F64B44862F95" drools:bgcolor="#ffffff" name=""> |
| | <bpmn2:incoming>_E7A54FE0-64F3-41FD-90FA-DC646A08CF81</bpmn2:incoming> |
| | <bpmn2:terminateEventDefinition id="_l3vnsZDREeGwFaj059Om2g"/> |
| | </bpmn2:endEvent> |
| | <bpmn2:sequenceFlow id="_F9673937-BB10-495D-9E7F-69C152957175" sourceRef="_76485EF6-5D06-450C-93A7-4837D93947BE" targetRef="_3A86C30C-08C0-456D-B638-231E715615B2"/> |
| | <bpmn2:sequenceFlow id="_E7A54FE0-64F3-41FD-90FA-DC646A08CF81" sourceRef="_3A86C30C-08C0-456D-B638-231E715615B2" targetRef="_B056BC69-D311-480D-8635-F64B44862F95"/> |
| | <bpmn2:scriptTask id="_3A86C30C-08C0-456D-B638-231E715615B2" drools:bgcolor="#b1c2d6" name="MyTask" scriptFormat=""> |
| | <bpmn2:incoming>_F9673937-BB10-495D-9E7F-69C152957175</bpmn2:incoming> |
| | <bpmn2:outgoing>_E7A54FE0-64F3-41FD-90FA-DC646A08CF81</bpmn2:outgoing> |
| | <bpmn2:script>System.out.println("Hello jBPM");</bpmn2:script> |
| | </bpmn2:scriptTask> |
| | </bpmn2:process> |
What am I doing wrong?
Thanks for the help in advance.