Advertisement
Guest User

simpleprocess

a guest
Jul 18th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.54 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <definitions id="Definition"
  3.             targetNamespace="http://www.omg.org/bpmn20"
  4.             typeLanguage="http://www.java.com/javaTypes"
  5.             expressionLanguage="http://www.mvel.org/2.0"
  6.             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  7.             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8.             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
  9.             xmlns:g="http://www.jboss.org/drools/flow/gpd"
  10.             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
  11.             xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
  12.             xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
  13.             xmlns:tns="http://www.jboss.org/drools">
  14.  
  15.   <process processType="Private" isExecutable="true" id="com.workflows.Sample002" name="Sample002" tns:packageName="com.workflows" tns:version="10" >
  16.  
  17.     <!-- nodes -->
  18.     <startEvent id="_1AB57428-99E0-419D-81AA-0DE77E0681C0" name="" />
  19.     <endEvent id="_3EFA538C-D772-4879-AEA4-5602F44E0097" name="" >
  20.         <terminateEventDefinition/>
  21.     </endEvent>
  22.     <scriptTask id="_4" name="Script" >
  23.       <script>System.out.println("this script task was completed");</script>
  24.     </scriptTask>
  25.  
  26.     <!-- connections -->
  27.     <sequenceFlow id="_4-_3EFA538C-D772-4879-AEA4-5602F44E0097" sourceRef="_4" targetRef="_3EFA538C-D772-4879-AEA4-5602F44E0097" />
  28.     <sequenceFlow id="_1AB57428-99E0-419D-81AA-0DE77E0681C0-_4" sourceRef="_1AB57428-99E0-419D-81AA-0DE77E0681C0" targetRef="_4" />
  29.  
  30.   </process>
  31.  
  32.   <bpmndi:BPMNDiagram>
  33.     <bpmndi:BPMNPlane bpmnElement="com.workflows.Sample002" >
  34.       <bpmndi:BPMNShape bpmnElement="_1AB57428-99E0-419D-81AA-0DE77E0681C0" >
  35.         <dc:Bounds x="135" y="142" width="48" height="48" />
  36.       </bpmndi:BPMNShape>
  37.       <bpmndi:BPMNShape bpmnElement="_3EFA538C-D772-4879-AEA4-5602F44E0097" >
  38.         <dc:Bounds x="516" y="165" width="48" height="48" />
  39.       </bpmndi:BPMNShape>
  40.       <bpmndi:BPMNShape bpmnElement="_4" >
  41.         <dc:Bounds x="309" y="131" width="80" height="48" />
  42.       </bpmndi:BPMNShape>
  43.       <bpmndi:BPMNEdge bpmnElement="_4-_3EFA538C-D772-4879-AEA4-5602F44E0097" >
  44.         <di:waypoint x="349" y="155" />
  45.         <di:waypoint x="540" y="189" />
  46.       </bpmndi:BPMNEdge>
  47.       <bpmndi:BPMNEdge bpmnElement="_1AB57428-99E0-419D-81AA-0DE77E0681C0-_4" >
  48.         <di:waypoint x="159" y="166" />
  49.         <di:waypoint x="349" y="155" />
  50.       </bpmndi:BPMNEdge>
  51.     </bpmndi:BPMNPlane>
  52.   </bpmndi:BPMNDiagram>
  53.  
  54. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement