xkzbg.bpmn 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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="xkzbg" name="许可证变更" isExecutable="true">
  4. <startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
  5. <userTask id="sq" 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="sq"></sequenceFlow>
  18. <userTask id="clsc" name="材料审查" activiti:candidateGroups="${role_clsc}"></userTask>
  19. <sequenceFlow id="flow2" sourceRef="sq" targetRef="clsc"></sequenceFlow>
  20. <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
  21. <sequenceFlow id="flow3" sourceRef="clsc" targetRef="exclusivegateway1"></sequenceFlow>
  22. <endEvent id="endevent1" name="End"></endEvent>
  23. <sequenceFlow id="flow5" name="不通过" sourceRef="exclusivegateway1" targetRef="sq">
  24. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_clsc}]]></conditionExpression>
  25. </sequenceFlow>
  26. <userTask id="hc" name="核查" activiti:candidateGroups="${role_hc}"></userTask>
  27. <sequenceFlow id="flow7" name="通过" sourceRef="exclusivegateway1" targetRef="hc">
  28. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_clsc}]]></conditionExpression>
  29. </sequenceFlow>
  30. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  31. <sequenceFlow id="flow8" sourceRef="hc" targetRef="exclusivegateway2"></sequenceFlow>
  32. <sequenceFlow id="flow9" name="不通过" sourceRef="exclusivegateway2" targetRef="clsc">
  33. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_hc}]]></conditionExpression>
  34. </sequenceFlow>
  35. <userTask id="fh" name="复核" activiti:candidateGroups="${role_fh}"></userTask>
  36. <userTask id="sp" name="审批" activiti:candidateGroups="${role_sp}"></userTask>
  37. <sequenceFlow id="flow10" name="通过" sourceRef="exclusivegateway2" targetRef="fh">
  38. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_hc}]]></conditionExpression>
  39. </sequenceFlow>
  40. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  41. <sequenceFlow id="flow11" sourceRef="fh" targetRef="exclusivegateway3"></sequenceFlow>
  42. <sequenceFlow id="flow12" name="不通过" sourceRef="exclusivegateway3" targetRef="hc">
  43. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fh}]]></conditionExpression>
  44. </sequenceFlow>
  45. <sequenceFlow id="flow13" name="通过" sourceRef="exclusivegateway3" targetRef="sp">
  46. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fh}]]></conditionExpression>
  47. </sequenceFlow>
  48. <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
  49. <sequenceFlow id="flow14" sourceRef="sp" targetRef="exclusivegateway4"></sequenceFlow>
  50. <sequenceFlow id="flow15" name="不通过" sourceRef="exclusivegateway4" targetRef="fh">
  51. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sp}]]></conditionExpression>
  52. </sequenceFlow>
  53. <sequenceFlow id="flow16" name="通过" sourceRef="exclusivegateway4" targetRef="endevent1">
  54. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sp}]]></conditionExpression>
  55. </sequenceFlow>
  56. </process>
  57. <bpmndi:BPMNDiagram id="BPMNDiagram_xkzbg">
  58. <bpmndi:BPMNPlane bpmnElement="xkzbg" id="BPMNPlane_xkzbg">
  59. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  60. <omgdc:Bounds height="35.0" width="35.0" x="150.0" y="210.0"></omgdc:Bounds>
  61. </bpmndi:BPMNShape>
  62. <bpmndi:BPMNShape bpmnElement="sq" id="BPMNShape_sq">
  63. <omgdc:Bounds height="55.0" width="105.0" x="230.0" y="200.0"></omgdc:Bounds>
  64. </bpmndi:BPMNShape>
  65. <bpmndi:BPMNShape bpmnElement="clsc" id="BPMNShape_clsc">
  66. <omgdc:Bounds height="55.0" width="105.0" x="387.0" y="200.0"></omgdc:Bounds>
  67. </bpmndi:BPMNShape>
  68. <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
  69. <omgdc:Bounds height="40.0" width="40.0" x="419.0" y="70.0"></omgdc:Bounds>
  70. </bpmndi:BPMNShape>
  71. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  72. <omgdc:Bounds height="35.0" width="35.0" x="1110.0" y="210.0"></omgdc:Bounds>
  73. </bpmndi:BPMNShape>
  74. <bpmndi:BPMNShape bpmnElement="hc" id="BPMNShape_hc">
  75. <omgdc:Bounds height="55.0" width="105.0" x="537.0" y="200.0"></omgdc:Bounds>
  76. </bpmndi:BPMNShape>
  77. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  78. <omgdc:Bounds height="40.0" width="40.0" x="569.0" y="330.0"></omgdc:Bounds>
  79. </bpmndi:BPMNShape>
  80. <bpmndi:BPMNShape bpmnElement="fh" id="BPMNShape_fh">
  81. <omgdc:Bounds height="55.0" width="105.0" x="720.0" y="200.0"></omgdc:Bounds>
  82. </bpmndi:BPMNShape>
  83. <bpmndi:BPMNShape bpmnElement="sp" id="BPMNShape_sp">
  84. <omgdc:Bounds height="55.0" width="105.0" x="920.0" y="200.0"></omgdc:Bounds>
  85. </bpmndi:BPMNShape>
  86. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  87. <omgdc:Bounds height="40.0" width="40.0" x="752.0" y="70.0"></omgdc:Bounds>
  88. </bpmndi:BPMNShape>
  89. <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">
  90. <omgdc:Bounds height="40.0" width="40.0" x="952.0" y="330.0"></omgdc:Bounds>
  91. </bpmndi:BPMNShape>
  92. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  93. <omgdi:waypoint x="185.0" y="227.0"></omgdi:waypoint>
  94. <omgdi:waypoint x="230.0" y="227.0"></omgdi:waypoint>
  95. </bpmndi:BPMNEdge>
  96. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  97. <omgdi:waypoint x="335.0" y="227.0"></omgdi:waypoint>
  98. <omgdi:waypoint x="387.0" y="227.0"></omgdi:waypoint>
  99. </bpmndi:BPMNEdge>
  100. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  101. <omgdi:waypoint x="439.0" y="200.0"></omgdi:waypoint>
  102. <omgdi:waypoint x="439.0" y="110.0"></omgdi:waypoint>
  103. </bpmndi:BPMNEdge>
  104. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  105. <omgdi:waypoint x="419.0" y="90.0"></omgdi:waypoint>
  106. <omgdi:waypoint x="282.0" y="90.0"></omgdi:waypoint>
  107. <omgdi:waypoint x="282.0" y="200.0"></omgdi:waypoint>
  108. <bpmndi:BPMNLabel>
  109. <omgdc:Bounds height="14.0" width="36.0" x="349.0" y="90.0"></omgdc:Bounds>
  110. </bpmndi:BPMNLabel>
  111. </bpmndi:BPMNEdge>
  112. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  113. <omgdi:waypoint x="459.0" y="90.0"></omgdi:waypoint>
  114. <omgdi:waypoint x="537.0" y="90.0"></omgdi:waypoint>
  115. <omgdi:waypoint x="589.0" y="200.0"></omgdi:waypoint>
  116. <bpmndi:BPMNLabel>
  117. <omgdc:Bounds height="14.0" width="24.0" x="469.0" y="90.0"></omgdc:Bounds>
  118. </bpmndi:BPMNLabel>
  119. </bpmndi:BPMNEdge>
  120. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  121. <omgdi:waypoint x="589.0" y="255.0"></omgdi:waypoint>
  122. <omgdi:waypoint x="589.0" y="330.0"></omgdi:waypoint>
  123. </bpmndi:BPMNEdge>
  124. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  125. <omgdi:waypoint x="569.0" y="350.0"></omgdi:waypoint>
  126. <omgdi:waypoint x="439.0" y="350.0"></omgdi:waypoint>
  127. <omgdi:waypoint x="439.0" y="255.0"></omgdi:waypoint>
  128. <bpmndi:BPMNLabel>
  129. <omgdc:Bounds height="14.0" width="36.0" x="531.0" y="350.0"></omgdc:Bounds>
  130. </bpmndi:BPMNLabel>
  131. </bpmndi:BPMNEdge>
  132. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  133. <omgdi:waypoint x="609.0" y="350.0"></omgdi:waypoint>
  134. <omgdi:waypoint x="734.0" y="350.0"></omgdi:waypoint>
  135. <omgdi:waypoint x="772.0" y="255.0"></omgdi:waypoint>
  136. <bpmndi:BPMNLabel>
  137. <omgdc:Bounds height="14.0" width="24.0" x="619.0" y="350.0"></omgdc:Bounds>
  138. </bpmndi:BPMNLabel>
  139. </bpmndi:BPMNEdge>
  140. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  141. <omgdi:waypoint x="772.0" y="200.0"></omgdi:waypoint>
  142. <omgdi:waypoint x="772.0" y="110.0"></omgdi:waypoint>
  143. </bpmndi:BPMNEdge>
  144. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  145. <omgdi:waypoint x="752.0" y="90.0"></omgdi:waypoint>
  146. <omgdi:waypoint x="624.0" y="90.0"></omgdi:waypoint>
  147. <omgdi:waypoint x="589.0" y="200.0"></omgdi:waypoint>
  148. <bpmndi:BPMNLabel>
  149. <omgdc:Bounds height="14.0" width="100.0" x="683.0" y="90.0"></omgdc:Bounds>
  150. </bpmndi:BPMNLabel>
  151. </bpmndi:BPMNEdge>
  152. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  153. <omgdi:waypoint x="792.0" y="90.0"></omgdi:waypoint>
  154. <omgdi:waypoint x="972.0" y="90.0"></omgdi:waypoint>
  155. <omgdi:waypoint x="972.0" y="200.0"></omgdi:waypoint>
  156. <bpmndi:BPMNLabel>
  157. <omgdc:Bounds height="14.0" width="100.0" x="802.0" y="90.0"></omgdc:Bounds>
  158. </bpmndi:BPMNLabel>
  159. </bpmndi:BPMNEdge>
  160. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  161. <omgdi:waypoint x="972.0" y="255.0"></omgdi:waypoint>
  162. <omgdi:waypoint x="972.0" y="330.0"></omgdi:waypoint>
  163. </bpmndi:BPMNEdge>
  164. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  165. <omgdi:waypoint x="952.0" y="350.0"></omgdi:waypoint>
  166. <omgdi:waypoint x="813.0" y="349.0"></omgdi:waypoint>
  167. <omgdi:waypoint x="772.0" y="255.0"></omgdi:waypoint>
  168. <bpmndi:BPMNLabel>
  169. <omgdc:Bounds height="14.0" width="36.0" x="861.0" y="351.0"></omgdc:Bounds>
  170. </bpmndi:BPMNLabel>
  171. </bpmndi:BPMNEdge>
  172. <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
  173. <omgdi:waypoint x="992.0" y="350.0"></omgdi:waypoint>
  174. <omgdi:waypoint x="1127.0" y="350.0"></omgdi:waypoint>
  175. <omgdi:waypoint x="1127.0" y="245.0"></omgdi:waypoint>
  176. <bpmndi:BPMNLabel>
  177. <omgdc:Bounds height="14.0" width="24.0" x="1002.0" y="350.0"></omgdc:Bounds>
  178. </bpmndi:BPMNLabel>
  179. </bpmndi:BPMNEdge>
  180. </bpmndi:BPMNPlane>
  181. </bpmndi:BPMNDiagram>
  182. </definitions>