resourceEnter.bpmn 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.w3.org/1999/XPath" id="m1571834527418" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
  3. <process id="resourceEntry" isClosed="false" isExecutable="true" processType="None">
  4. <startEvent id="_2" name="StartEvent"/>
  5. <userTask activiti:exclusive="true" id="_3" name="department">
  6. <extensionElements>
  7. <activiti:executionListener class="com.java110.common.activity.resourceEnter.ResourceEnterToDepartmentListener" event="start"/>
  8. </extensionElements>
  9. </userTask>
  10. <userTask activiti:exclusive="true" id="_4" name="finance"/>
  11. <endEvent id="_5" name="EndEvent"/>
  12. <sequenceFlow id="_6" sourceRef="_2" targetRef="_3"/>
  13. <sequenceFlow id="_7" sourceRef="_3" targetRef="_4">
  14. <conditionExpression xsi:type="tFormalExpression">
  15. <![CDATA[${auditFlag==true}]]>
  16. </conditionExpression>
  17. </sequenceFlow>
  18. <userTask activiti:exclusive="true" id="_9" name="buyer"/>
  19. <sequenceFlow id="_10" sourceRef="_4" targetRef="_9">
  20. <conditionExpression xsi:type="tFormalExpression">
  21. <![CDATA[${auditFlag==true}]]>
  22. </conditionExpression>
  23. </sequenceFlow>
  24. <sequenceFlow id="_11" sourceRef="_9" targetRef="_5"/>
  25. <sequenceFlow id="_8" sourceRef="_3" targetRef="_5">
  26. <conditionExpression xsi:type="tFormalExpression">
  27. <![CDATA[${auditFlag == false}]]>
  28. </conditionExpression>
  29. </sequenceFlow>
  30. <sequenceFlow id="_12" sourceRef="_4" targetRef="_5">
  31. <conditionExpression xsi:type="tFormalExpression">
  32. <![CDATA[${auditFlag==false}]]>
  33. </conditionExpression>
  34. </sequenceFlow>
  35. <textAnnotation id="_13" textFormat="text/plain">
  36. <text>fail</text>
  37. </textAnnotation>
  38. <textAnnotation id="_14" textFormat="text/plain">
  39. <text>fail</text>
  40. </textAnnotation>
  41. </process>
  42. <bpmndi:BPMNDiagram documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0" id="Diagram-_1" name="New Diagram">
  43. <bpmndi:BPMNPlane bpmnElement="resourceEntry">
  44. <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
  45. <omgdc:Bounds height="32.0" width="32.0" x="245.0" y="55.0"/>
  46. <bpmndi:BPMNLabel>
  47. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  48. </bpmndi:BPMNLabel>
  49. </bpmndi:BPMNShape>
  50. <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
  51. <omgdc:Bounds height="55.0" width="85.0" x="205.0" y="150.0"/>
  52. <bpmndi:BPMNLabel>
  53. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  54. </bpmndi:BPMNLabel>
  55. </bpmndi:BPMNShape>
  56. <bpmndi:BPMNShape bpmnElement="_4" id="Shape-_4">
  57. <omgdc:Bounds height="55.0" width="85.0" x="215.0" y="265.0"/>
  58. <bpmndi:BPMNLabel>
  59. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  60. </bpmndi:BPMNLabel>
  61. </bpmndi:BPMNShape>
  62. <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
  63. <omgdc:Bounds height="32.0" width="32.0" x="250.0" y="470.0"/>
  64. <bpmndi:BPMNLabel>
  65. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  66. </bpmndi:BPMNLabel>
  67. </bpmndi:BPMNShape>
  68. <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9">
  69. <omgdc:Bounds height="55.0" width="85.0" x="235.0" y="370.0"/>
  70. <bpmndi:BPMNLabel>
  71. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  72. </bpmndi:BPMNLabel>
  73. </bpmndi:BPMNShape>
  74. <bpmndi:BPMNShape bpmnElement="_13" id="Shape-_13">
  75. <omgdc:Bounds height="55.0" width="100.0" x="405.0" y="305.0"/>
  76. <bpmndi:BPMNLabel>
  77. <omgdc:Bounds height="55.0" width="100.0" x="0.0" y="0.0"/>
  78. </bpmndi:BPMNLabel>
  79. </bpmndi:BPMNShape>
  80. <bpmndi:BPMNShape bpmnElement="_14" id="Shape-_14">
  81. <omgdc:Bounds height="55.0" width="100.0" x="120.0" y="330.0"/>
  82. <bpmndi:BPMNLabel>
  83. <omgdc:Bounds height="55.0" width="100.0" x="0.0" y="0.0"/>
  84. </bpmndi:BPMNLabel>
  85. </bpmndi:BPMNShape>
  86. <bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="_4" targetElement="_5">
  87. <omgdi:waypoint x="215.0" y="292.5"/>
  88. <omgdi:waypoint x="160.0" y="390.0"/>
  89. <omgdi:waypoint x="250.0" y="486.0"/>
  90. <bpmndi:BPMNLabel>
  91. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  92. </bpmndi:BPMNLabel>
  93. </bpmndi:BPMNEdge>
  94. <bpmndi:BPMNEdge bpmnElement="_6" id="BPMNEdge__6" sourceElement="_2" targetElement="_3">
  95. <omgdi:waypoint x="261.0" y="87.0"/>
  96. <omgdi:waypoint x="261.0" y="150.0"/>
  97. <bpmndi:BPMNLabel>
  98. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  99. </bpmndi:BPMNLabel>
  100. </bpmndi:BPMNEdge>
  101. <bpmndi:BPMNEdge bpmnElement="_7" id="BPMNEdge__7" sourceElement="_3" targetElement="_4">
  102. <omgdi:waypoint x="252.5" y="205.0"/>
  103. <omgdi:waypoint x="252.5" y="265.0"/>
  104. <bpmndi:BPMNLabel>
  105. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  106. </bpmndi:BPMNLabel>
  107. </bpmndi:BPMNEdge>
  108. <bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="_3" targetElement="_5">
  109. <omgdi:waypoint x="290.0" y="177.5"/>
  110. <omgdi:waypoint x="375.0" y="345.0"/>
  111. <omgdi:waypoint x="282.0" y="486.0"/>
  112. <bpmndi:BPMNLabel>
  113. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  114. </bpmndi:BPMNLabel>
  115. </bpmndi:BPMNEdge>
  116. <bpmndi:BPMNEdge bpmnElement="_11" id="BPMNEdge__11" sourceElement="_9" targetElement="_5">
  117. <omgdi:waypoint x="266.0" y="425.0"/>
  118. <omgdi:waypoint x="266.0" y="470.0"/>
  119. <bpmndi:BPMNLabel>
  120. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  121. </bpmndi:BPMNLabel>
  122. </bpmndi:BPMNEdge>
  123. <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="_4" targetElement="_9">
  124. <omgdi:waypoint x="267.5" y="320.0"/>
  125. <omgdi:waypoint x="267.5" y="370.0"/>
  126. <bpmndi:BPMNLabel>
  127. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  128. </bpmndi:BPMNLabel>
  129. </bpmndi:BPMNEdge>
  130. </bpmndi:BPMNPlane>
  131. </bpmndi:BPMNDiagram>
  132. </definitions>