Advertisement
Guest User

sample-jbpm6.bpmn

a guest
Feb 3rd, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.82 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <definitions id="Definition"
  3.             targetNamespace="http://www.jboss.org/drools"
  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.sample.bpmn.hello" name="Hello World" >
  16.  
  17.     <!-- nodes -->
  18.     <startEvent id="_1" name="StartProcess" />
  19.     <scriptTask id="_2" name="Hello1" >
  20.       <script>System.out.println("checking vargars: " + String.format("%s","s"));
  21. System.out.println("Hello World ---- " + String.format("%s","fuck"/df));
  22. </script>
  23.     </scriptTask>
  24.     <endEvent id="_3" name="EndProcess" >
  25.         <terminateEventDefinition />
  26.     </endEvent>
  27.     <scriptTask id="_4" name="Hello2" >
  28.       <script>      System.out.println("checking vargars: " + String.format("%s","s"));
  29.       System.out.println("Hello World ---- " + String.format("%s","fuck"/df));</script>
  30.     </scriptTask>
  31.  
  32.     <!-- connections -->
  33.     <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
  34.     <sequenceFlow id="_4-_3" sourceRef="_4" targetRef="_3" />
  35.     <sequenceFlow id="_2-_4" sourceRef="_2" targetRef="_4" />
  36.  
  37.   </process>
  38.  
  39.   <bpmndi:BPMNDiagram>
  40.     <bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.hello" >
  41.       <bpmndi:BPMNShape bpmnElement="_1" >
  42.         <dc:Bounds x="16" y="16" width="48" height="48" />
  43.       </bpmndi:BPMNShape>
  44.       <bpmndi:BPMNShape bpmnElement="_2" >
  45.         <dc:Bounds x="96" y="16" width="80" height="48" />
  46.       </bpmndi:BPMNShape>
  47.       <bpmndi:BPMNShape bpmnElement="_3" >
  48.         <dc:Bounds x="459" y="20" width="48" height="48" />
  49.       </bpmndi:BPMNShape>
  50.       <bpmndi:BPMNShape bpmnElement="_4" >
  51.         <dc:Bounds x="271" y="29" width="80" height="48" />
  52.       </bpmndi:BPMNShape>
  53.       <bpmndi:BPMNEdge bpmnElement="_1-_2" >
  54.         <di:waypoint x="40" y="40" />
  55.         <di:waypoint x="136" y="40" />
  56.       </bpmndi:BPMNEdge>
  57.       <bpmndi:BPMNEdge bpmnElement="_4-_3" >
  58.         <di:waypoint x="311" y="53" />
  59.         <di:waypoint x="483" y="44" />
  60.       </bpmndi:BPMNEdge>
  61.       <bpmndi:BPMNEdge bpmnElement="_2-_4" >
  62.         <di:waypoint x="136" y="40" />
  63.         <di:waypoint x="311" y="53" />
  64.       </bpmndi:BPMNEdge>
  65.     </bpmndi:BPMNPlane>
  66.   </bpmndi:BPMNDiagram>
  67.  
  68. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement