Skip to content
Browse files

sample flow

  • Loading branch information...
1 parent 1e7af1d commit 95dbd8b09af026277402437f1fd2e55ce8d433ee @bauna committed Mar 29, 2011
Showing with 57 additions and 0 deletions.
  1. +57 −0 src/groovy/helloWord.rf
View
57 src/groovy/helloWord.rf
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions id="Definition"
+ targetNamespace="http://www.jboss.org/drools"
+ typeLanguage="http://www.java.com/javaTypes"
+ expressionLanguage="http://www.mvel.org/2.0"
+ xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
+ xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
+ xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
+ xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
+ xmlns:tns="http://www.jboss.org/drools">
+
+
+ <process processType="Private" isExecutable="true" id="com.bauna.droolsjbpm.gorm.hello" name="Hello Process">
+ <!-- nodes -->
+ <startEvent id="_1" name="Start"/>
+
+ <scriptTask id="_2" name="Hello">
+ <script>System.out.println("Hello World");</script>
+ </scriptTask>
+
+ <endEvent id="_3" name="End">
+ <terminateEventDefinition/>
+ </endEvent>
+
+ <!-- connections -->
+ <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2"/>
+ <sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3"/>
+ </process>
+
+ <bpmndi:BPMNDiagram>
+ <bpmndi:BPMNPlane bpmnElement="com.bauna.droolsjbpm.gorm.hello">
+ <bpmndi:BPMNShape bpmnElement="_1">
+ <dc:Bounds x="16" y="16" width="48" height="48"/>
+ </bpmndi:BPMNShape>
+
+ <bpmndi:BPMNShape bpmnElement="_2">
+ <dc:Bounds x="96" y="16" width="80" height="48"/>
+ </bpmndi:BPMNShape>
+
+ <bpmndi:BPMNShape bpmnElement="_3">
+ <dc:Bounds x="208" y="16" width="48" height="48"/>
+ </bpmndi:BPMNShape>
+
+ <bpmndi:BPMNEdge bpmnElement="_1-_2">
+ <di:waypoint x="40" y="40"/>
+ <di:waypoint x="136" y="40"/>
+ </bpmndi:BPMNEdge>
+
+ <bpmndi:BPMNEdge bpmnElement="_2-_3">
+ <di:waypoint x="136" y="40"/>
+ <di:waypoint x="232" y="40"/>
+ </bpmndi:BPMNEdge>
+ </bpmndi:BPMNPlane>
+ </bpmndi:BPMNDiagram>
+</definitions>

0 comments on commit 95dbd8b

Please sign in to comment.
Something went wrong with that request. Please try again.