lhsq.bpmn 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
  3. <process id="lhsq" name="理货申请" isExecutable="true">
  4. <startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
  5. <userTask id="sljbr" name="经办人受理" activiti:assignee="${applyUserId}">
  6. <extensionElements>
  7. <activiti:taskListener event="create" delegateExpression="${taskVarBean}">
  8. <activiti:field name="varName">
  9. <activiti:string><![CDATA[var_autoComplete]]></activiti:string>
  10. </activiti:field>
  11. <activiti:field name="varValue">
  12. <activiti:string><![CDATA[true]]></activiti:string>
  13. </activiti:field>
  14. </activiti:taskListener>
  15. </extensionElements>
  16. </userTask>
  17. <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="sljbr"></sequenceFlow>
  18. <userTask id="kssc" name="科室审查" activiti:assignee="${assignee}">
  19. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
  20. <completionCondition>${nrOfInstances!=nrOfCompletedInstances}</completionCondition>
  21. </multiInstanceLoopCharacteristics>
  22. </userTask>
  23. <userTask id="fgldsp" name="分管领导审批" activiti:assignee="${assignee}">
  24. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
  25. <completionCondition>${nrOfInstances!=nrOfCompletedInstances}</completionCondition>
  26. </multiInstanceLoopCharacteristics>
  27. </userTask>
  28. <userTask id="ldpz" name="领导批准" activiti:assignee="${assignee}">
  29. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
  30. <completionCondition>${nrOfInstances!=nrOfCompletedInstances}</completionCondition>
  31. </multiInstanceLoopCharacteristics>
  32. </userTask>
  33. <endEvent id="endevent1" name="End"></endEvent>
  34. <exclusiveGateway id="exclusivegateway16" name="Exclusive Gateway"></exclusiveGateway>
  35. <sequenceFlow id="flow57" sourceRef="sljbr" targetRef="exclusivegateway16"></sequenceFlow>
  36. <sequenceFlow id="flow58" name="通过" sourceRef="exclusivegateway16" targetRef="kssc">
  37. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sljbr}]]></conditionExpression>
  38. </sequenceFlow>
  39. <sequenceFlow id="flow59" name="不通过" sourceRef="exclusivegateway16" targetRef="endevent1">
  40. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sljbr}]]></conditionExpression>
  41. </sequenceFlow>
  42. <exclusiveGateway id="exclusivegateway17" name="Exclusive Gateway"></exclusiveGateway>
  43. <sequenceFlow id="flow60" sourceRef="kssc" targetRef="exclusivegateway17"></sequenceFlow>
  44. <sequenceFlow id="flow61" name="通过" sourceRef="exclusivegateway17" targetRef="fgldsp">
  45. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_kssc}]]></conditionExpression>
  46. </sequenceFlow>
  47. <sequenceFlow id="flow62" name="不通过" sourceRef="exclusivegateway17" targetRef="sljbr">
  48. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_kssc}]]></conditionExpression>
  49. </sequenceFlow>
  50. <exclusiveGateway id="exclusivegateway18" name="Exclusive Gateway"></exclusiveGateway>
  51. <sequenceFlow id="flow63" sourceRef="fgldsp" targetRef="exclusivegateway18"></sequenceFlow>
  52. <sequenceFlow id="flow64" name="通过" sourceRef="exclusivegateway18" targetRef="ldpz">
  53. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fgldsp}]]></conditionExpression>
  54. </sequenceFlow>
  55. <sequenceFlow id="flow66" name="不通过" sourceRef="exclusivegateway18" targetRef="sljbr">
  56. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fgldsp}]]></conditionExpression>
  57. </sequenceFlow>
  58. <exclusiveGateway id="exclusivegateway19" name="Exclusive Gateway"></exclusiveGateway>
  59. <sequenceFlow id="flow67" sourceRef="ldpz" targetRef="exclusivegateway19"></sequenceFlow>
  60. <sequenceFlow id="flow68" name="通过" sourceRef="exclusivegateway19" targetRef="endevent1">
  61. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_ldpz}]]></conditionExpression>
  62. </sequenceFlow>
  63. <sequenceFlow id="flow69" name="不通过" sourceRef="exclusivegateway19" targetRef="sljbr">
  64. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_ldpz}]]></conditionExpression>
  65. </sequenceFlow>
  66. </process>
  67. <bpmndi:BPMNDiagram id="BPMNDiagram_lhsq">
  68. <bpmndi:BPMNPlane bpmnElement="lhsq" id="BPMNPlane_lhsq">
  69. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  70. <omgdc:Bounds height="35.0" width="35.0" x="30.0" y="270.0"></omgdc:Bounds>
  71. </bpmndi:BPMNShape>
  72. <bpmndi:BPMNShape bpmnElement="sljbr" id="BPMNShape_sljbr">
  73. <omgdc:Bounds height="55.0" width="105.0" x="90.0" y="260.0"></omgdc:Bounds>
  74. </bpmndi:BPMNShape>
  75. <bpmndi:BPMNShape bpmnElement="kssc" id="BPMNShape_kssc">
  76. <omgdc:Bounds height="55.0" width="105.0" x="350.0" y="260.0"></omgdc:Bounds>
  77. </bpmndi:BPMNShape>
  78. <bpmndi:BPMNShape bpmnElement="fgldsp" id="BPMNShape_fgldsp">
  79. <omgdc:Bounds height="55.0" width="105.0" x="656.0" y="264.0"></omgdc:Bounds>
  80. </bpmndi:BPMNShape>
  81. <bpmndi:BPMNShape bpmnElement="ldpz" id="BPMNShape_ldpz">
  82. <omgdc:Bounds height="55.0" width="105.0" x="940.0" y="264.0"></omgdc:Bounds>
  83. </bpmndi:BPMNShape>
  84. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  85. <omgdc:Bounds height="35.0" width="35.0" x="980.0" y="600.0"></omgdc:Bounds>
  86. </bpmndi:BPMNShape>
  87. <bpmndi:BPMNShape bpmnElement="exclusivegateway16" id="BPMNShape_exclusivegateway16">
  88. <omgdc:Bounds height="40.0" width="40.0" x="240.0" y="268.0"></omgdc:Bounds>
  89. </bpmndi:BPMNShape>
  90. <bpmndi:BPMNShape bpmnElement="exclusivegateway17" id="BPMNShape_exclusivegateway17">
  91. <omgdc:Bounds height="40.0" width="40.0" x="382.0" y="160.0"></omgdc:Bounds>
  92. </bpmndi:BPMNShape>
  93. <bpmndi:BPMNShape bpmnElement="exclusivegateway18" id="BPMNShape_exclusivegateway18">
  94. <omgdc:Bounds height="40.0" width="40.0" x="806.0" y="272.0"></omgdc:Bounds>
  95. </bpmndi:BPMNShape>
  96. <bpmndi:BPMNShape bpmnElement="exclusivegateway19" id="BPMNShape_exclusivegateway19">
  97. <omgdc:Bounds height="40.0" width="40.0" x="972.0" y="120.0"></omgdc:Bounds>
  98. </bpmndi:BPMNShape>
  99. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  100. <omgdi:waypoint x="65.0" y="287.0"></omgdi:waypoint>
  101. <omgdi:waypoint x="90.0" y="287.0"></omgdi:waypoint>
  102. </bpmndi:BPMNEdge>
  103. <bpmndi:BPMNEdge bpmnElement="flow57" id="BPMNEdge_flow57">
  104. <omgdi:waypoint x="195.0" y="287.0"></omgdi:waypoint>
  105. <omgdi:waypoint x="240.0" y="288.0"></omgdi:waypoint>
  106. </bpmndi:BPMNEdge>
  107. <bpmndi:BPMNEdge bpmnElement="flow58" id="BPMNEdge_flow58">
  108. <omgdi:waypoint x="280.0" y="288.0"></omgdi:waypoint>
  109. <omgdi:waypoint x="350.0" y="287.0"></omgdi:waypoint>
  110. <bpmndi:BPMNLabel>
  111. <omgdc:Bounds height="14.0" width="24.0" x="290.0" y="288.0"></omgdc:Bounds>
  112. </bpmndi:BPMNLabel>
  113. </bpmndi:BPMNEdge>
  114. <bpmndi:BPMNEdge bpmnElement="flow59" id="BPMNEdge_flow59">
  115. <omgdi:waypoint x="260.0" y="308.0"></omgdi:waypoint>
  116. <omgdi:waypoint x="260.0" y="617.0"></omgdi:waypoint>
  117. <omgdi:waypoint x="980.0" y="617.0"></omgdi:waypoint>
  118. <bpmndi:BPMNLabel>
  119. <omgdc:Bounds height="14.0" width="36.0" x="270.0" y="308.0"></omgdc:Bounds>
  120. </bpmndi:BPMNLabel>
  121. </bpmndi:BPMNEdge>
  122. <bpmndi:BPMNEdge bpmnElement="flow60" id="BPMNEdge_flow60">
  123. <omgdi:waypoint x="402.0" y="260.0"></omgdi:waypoint>
  124. <omgdi:waypoint x="402.0" y="200.0"></omgdi:waypoint>
  125. </bpmndi:BPMNEdge>
  126. <bpmndi:BPMNEdge bpmnElement="flow61" id="BPMNEdge_flow61">
  127. <omgdi:waypoint x="422.0" y="180.0"></omgdi:waypoint>
  128. <omgdi:waypoint x="708.0" y="180.0"></omgdi:waypoint>
  129. <omgdi:waypoint x="708.0" y="264.0"></omgdi:waypoint>
  130. <bpmndi:BPMNLabel>
  131. <omgdc:Bounds height="14.0" width="24.0" x="432.0" y="180.0"></omgdc:Bounds>
  132. </bpmndi:BPMNLabel>
  133. </bpmndi:BPMNEdge>
  134. <bpmndi:BPMNEdge bpmnElement="flow62" id="BPMNEdge_flow62">
  135. <omgdi:waypoint x="382.0" y="180.0"></omgdi:waypoint>
  136. <omgdi:waypoint x="142.0" y="180.0"></omgdi:waypoint>
  137. <omgdi:waypoint x="142.0" y="260.0"></omgdi:waypoint>
  138. <bpmndi:BPMNLabel>
  139. <omgdc:Bounds height="14.0" width="36.0" x="281.0" y="180.0"></omgdc:Bounds>
  140. </bpmndi:BPMNLabel>
  141. </bpmndi:BPMNEdge>
  142. <bpmndi:BPMNEdge bpmnElement="flow63" id="BPMNEdge_flow63">
  143. <omgdi:waypoint x="761.0" y="291.0"></omgdi:waypoint>
  144. <omgdi:waypoint x="806.0" y="292.0"></omgdi:waypoint>
  145. </bpmndi:BPMNEdge>
  146. <bpmndi:BPMNEdge bpmnElement="flow64" id="BPMNEdge_flow64">
  147. <omgdi:waypoint x="846.0" y="292.0"></omgdi:waypoint>
  148. <omgdi:waypoint x="940.0" y="291.0"></omgdi:waypoint>
  149. <bpmndi:BPMNLabel>
  150. <omgdc:Bounds height="14.0" width="24.0" x="856.0" y="292.0"></omgdc:Bounds>
  151. </bpmndi:BPMNLabel>
  152. </bpmndi:BPMNEdge>
  153. <bpmndi:BPMNEdge bpmnElement="flow66" id="BPMNEdge_flow66">
  154. <omgdi:waypoint x="826.0" y="312.0"></omgdi:waypoint>
  155. <omgdi:waypoint x="826.0" y="508.0"></omgdi:waypoint>
  156. <omgdi:waypoint x="142.0" y="508.0"></omgdi:waypoint>
  157. <omgdi:waypoint x="142.0" y="315.0"></omgdi:waypoint>
  158. <bpmndi:BPMNLabel>
  159. <omgdc:Bounds height="14.0" width="36.0" x="790.0" y="369.0"></omgdc:Bounds>
  160. </bpmndi:BPMNLabel>
  161. </bpmndi:BPMNEdge>
  162. <bpmndi:BPMNEdge bpmnElement="flow67" id="BPMNEdge_flow67">
  163. <omgdi:waypoint x="992.0" y="264.0"></omgdi:waypoint>
  164. <omgdi:waypoint x="992.0" y="160.0"></omgdi:waypoint>
  165. </bpmndi:BPMNEdge>
  166. <bpmndi:BPMNEdge bpmnElement="flow68" id="BPMNEdge_flow68">
  167. <omgdi:waypoint x="1012.0" y="140.0"></omgdi:waypoint>
  168. <omgdi:waypoint x="1158.0" y="140.0"></omgdi:waypoint>
  169. <omgdi:waypoint x="1159.0" y="617.0"></omgdi:waypoint>
  170. <omgdi:waypoint x="1015.0" y="617.0"></omgdi:waypoint>
  171. <bpmndi:BPMNLabel>
  172. <omgdc:Bounds height="14.0" width="24.0" x="1022.0" y="140.0"></omgdc:Bounds>
  173. </bpmndi:BPMNLabel>
  174. </bpmndi:BPMNEdge>
  175. <bpmndi:BPMNEdge bpmnElement="flow69" id="BPMNEdge_flow69">
  176. <omgdi:waypoint x="972.0" y="140.0"></omgdi:waypoint>
  177. <omgdi:waypoint x="142.0" y="139.0"></omgdi:waypoint>
  178. <omgdi:waypoint x="142.0" y="260.0"></omgdi:waypoint>
  179. <bpmndi:BPMNLabel>
  180. <omgdc:Bounds height="14.0" width="36.0" x="858.0" y="141.0"></omgdc:Bounds>
  181. </bpmndi:BPMNLabel>
  182. </bpmndi:BPMNEdge>
  183. </bpmndi:BPMNPlane>
  184. </bpmndi:BPMNDiagram>
  185. </definitions>