ApplyOvertimeWork.bpmn 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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="m1610247356111" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
  3. <process id="apply_overtime_work" isClosed="false" isExecutable="true" name="加班申请" processType="None">
  4. <startEvent id="_2" name="发起申请"/>
  5. <endEvent id="_26" name="结束"/>
  6. <userTask activiti:candidateGroups="curr_user" activiti:exclusive="true" id="_34" name="申请人发起"/>
  7. <sequenceFlow id="_35" sourceRef="_2" targetRef="_34"/>
  8. <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_superior_1_0_1" activiti:exclusive="true" id="_3" name="直接上级审核"/>
  9. <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
  10. <conditionExpression xsi:type="tFormalExpression">
  11. <![CDATA[${agree=='yes'}]]>
  12. </conditionExpression>
  13. </sequenceFlow>
  14. <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1" activiti:exclusive="true" id="_5" name="部门负责人审核"/>
  15. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1" activiti:exclusive="true" id="_6" name="分管领导审核"/>
  16. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1" activiti:exclusive="true" id="_7" name="上级分管领导审核"/>
  17. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1" activiti:exclusive="true" id="_9" name="主要领导审核"/>
  18. <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
  19. <conditionExpression xsi:type="tFormalExpression">
  20. <![CDATA[${agree=='yes'}]]>
  21. </conditionExpression>
  22. </sequenceFlow>
  23. <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
  24. <conditionExpression xsi:type="tFormalExpression">
  25. <![CDATA[${agree=='yes'}]]>
  26. </conditionExpression>
  27. </sequenceFlow>
  28. <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
  29. <conditionExpression xsi:type="tFormalExpression">
  30. <![CDATA[${agree=='yes'}]]>
  31. </conditionExpression>
  32. </sequenceFlow>
  33. <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
  34. <conditionExpression xsi:type="tFormalExpression">
  35. <![CDATA[${agree=='yes'}]]>
  36. </conditionExpression>
  37. </sequenceFlow>
  38. <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
  39. <conditionExpression xsi:type="tFormalExpression">
  40. <![CDATA[${agree=='yes'}]]>
  41. </conditionExpression>
  42. </sequenceFlow>
  43. <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
  44. <conditionExpression xsi:type="tFormalExpression">
  45. <![CDATA[${agree=='no'}]]>
  46. </conditionExpression>
  47. </sequenceFlow>
  48. <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
  49. <conditionExpression xsi:type="tFormalExpression">
  50. <![CDATA[${agree=='no'}]]>
  51. </conditionExpression>
  52. </sequenceFlow>
  53. <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
  54. <conditionExpression xsi:type="tFormalExpression">
  55. <![CDATA[${agree=='no'}]]>
  56. </conditionExpression>
  57. </sequenceFlow>
  58. <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
  59. <conditionExpression xsi:type="tFormalExpression">
  60. <![CDATA[${agree=='no'}]]>
  61. </conditionExpression>
  62. </sequenceFlow>
  63. <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
  64. <conditionExpression xsi:type="tFormalExpression">
  65. <![CDATA[${agree=='no'}]]>
  66. </conditionExpression>
  67. </sequenceFlow>
  68. </process>
  69. <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">
  70. <bpmndi:BPMNPlane bpmnElement="apply_overtime_work">
  71. <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
  72. <omgdc:Bounds height="32.0" width="32.0" x="45.0" y="115.0"/>
  73. <bpmndi:BPMNLabel>
  74. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  75. </bpmndi:BPMNLabel>
  76. </bpmndi:BPMNShape>
  77. <bpmndi:BPMNShape bpmnElement="_26" id="Shape-_26">
  78. <omgdc:Bounds height="32.0" width="32.0" x="1180.0" y="510.0"/>
  79. <bpmndi:BPMNLabel>
  80. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  81. </bpmndi:BPMNLabel>
  82. </bpmndi:BPMNShape>
  83. <bpmndi:BPMNShape bpmnElement="_34" id="Shape-_34">
  84. <omgdc:Bounds height="55.0" width="85.0" x="135.0" y="245.0"/>
  85. <bpmndi:BPMNLabel>
  86. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  87. </bpmndi:BPMNLabel>
  88. </bpmndi:BPMNShape>
  89. <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
  90. <omgdc:Bounds height="55.0" width="85.0" x="330.0" y="245.0"/>
  91. <bpmndi:BPMNLabel>
  92. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  93. </bpmndi:BPMNLabel>
  94. </bpmndi:BPMNShape>
  95. <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
  96. <omgdc:Bounds height="55.0" width="95.0" x="520.0" y="245.0"/>
  97. <bpmndi:BPMNLabel>
  98. <omgdc:Bounds height="55.0" width="95.0" x="0.0" y="0.0"/>
  99. </bpmndi:BPMNLabel>
  100. </bpmndi:BPMNShape>
  101. <bpmndi:BPMNShape bpmnElement="_6" id="Shape-_6">
  102. <omgdc:Bounds height="55.0" width="100.0" x="730.0" y="245.0"/>
  103. <bpmndi:BPMNLabel>
  104. <omgdc:Bounds height="55.0" width="100.0" x="0.0" y="0.0"/>
  105. </bpmndi:BPMNLabel>
  106. </bpmndi:BPMNShape>
  107. <bpmndi:BPMNShape bpmnElement="_7" id="Shape-_7">
  108. <omgdc:Bounds height="55.0" width="110.0" x="930.0" y="245.0"/>
  109. <bpmndi:BPMNLabel>
  110. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  111. </bpmndi:BPMNLabel>
  112. </bpmndi:BPMNShape>
  113. <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9">
  114. <omgdc:Bounds height="55.0" width="110.0" x="1140.0" y="245.0"/>
  115. <bpmndi:BPMNLabel>
  116. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  117. </bpmndi:BPMNLabel>
  118. </bpmndi:BPMNShape>
  119. <bpmndi:BPMNEdge bpmnElement="_35" id="BPMNEdge__35" sourceElement="_2" targetElement="_34">
  120. <omgdi:waypoint x="63.0" y="146.87450786638755"/>
  121. <omgdi:waypoint x="63.0" y="219.0"/>
  122. <omgdi:waypoint x="135.0" y="272.5"/>
  123. <bpmndi:BPMNLabel>
  124. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  125. </bpmndi:BPMNLabel>
  126. </bpmndi:BPMNEdge>
  127. <bpmndi:BPMNEdge bpmnElement="_13" id="BPMNEdge__13" sourceElement="_9" targetElement="_26">
  128. <omgdi:waypoint x="1196.0" y="300.0"/>
  129. <omgdi:waypoint x="1196.0" y="510.0"/>
  130. <bpmndi:BPMNLabel>
  131. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  132. </bpmndi:BPMNLabel>
  133. </bpmndi:BPMNEdge>
  134. <bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="_7" targetElement="_9">
  135. <omgdi:waypoint x="1040.0" y="272.5"/>
  136. <omgdi:waypoint x="1140.0" y="272.5"/>
  137. <bpmndi:BPMNLabel>
  138. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  139. </bpmndi:BPMNLabel>
  140. </bpmndi:BPMNEdge>
  141. <bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_5" targetElement="_34">
  142. <omgdi:waypoint x="567.5" y="245.0"/>
  143. <omgdi:waypoint x="375.0" y="195.0"/>
  144. <omgdi:waypoint x="177.5" y="245.0"/>
  145. <bpmndi:BPMNLabel>
  146. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  147. </bpmndi:BPMNLabel>
  148. </bpmndi:BPMNEdge>
  149. <bpmndi:BPMNEdge bpmnElement="_14" id="BPMNEdge__14" sourceElement="_3" targetElement="_34">
  150. <omgdi:waypoint x="372.5" y="245.0"/>
  151. <omgdi:waypoint x="285.0" y="225.0"/>
  152. <omgdi:waypoint x="177.5" y="245.0"/>
  153. <bpmndi:BPMNLabel>
  154. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  155. </bpmndi:BPMNLabel>
  156. </bpmndi:BPMNEdge>
  157. <bpmndi:BPMNEdge bpmnElement="_17" id="BPMNEdge__17" sourceElement="_7" targetElement="_34">
  158. <omgdi:waypoint x="985.0" y="245.0"/>
  159. <omgdi:waypoint x="600.0" y="135.0"/>
  160. <omgdi:waypoint x="177.5" y="245.0"/>
  161. <bpmndi:BPMNLabel>
  162. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  163. </bpmndi:BPMNLabel>
  164. </bpmndi:BPMNEdge>
  165. <bpmndi:BPMNEdge bpmnElement="_16" id="BPMNEdge__16" sourceElement="_6" targetElement="_34">
  166. <omgdi:waypoint x="780.0" y="245.0"/>
  167. <omgdi:waypoint x="475.0" y="165.0"/>
  168. <omgdi:waypoint x="177.5" y="245.0"/>
  169. <bpmndi:BPMNLabel>
  170. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  171. </bpmndi:BPMNLabel>
  172. </bpmndi:BPMNEdge>
  173. <bpmndi:BPMNEdge bpmnElement="_19" id="BPMNEdge__19" sourceElement="_9" targetElement="_34">
  174. <omgdi:waypoint x="1195.0" y="245.0"/>
  175. <omgdi:waypoint x="675.0" y="105.0"/>
  176. <omgdi:waypoint x="177.5" y="245.0"/>
  177. <bpmndi:BPMNLabel>
  178. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  179. </bpmndi:BPMNLabel>
  180. </bpmndi:BPMNEdge>
  181. <bpmndi:BPMNEdge bpmnElement="_4" id="BPMNEdge__4" sourceElement="_34" targetElement="_3">
  182. <omgdi:waypoint x="220.0" y="272.5"/>
  183. <omgdi:waypoint x="330.0" y="272.5"/>
  184. <bpmndi:BPMNLabel>
  185. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  186. </bpmndi:BPMNLabel>
  187. </bpmndi:BPMNEdge>
  188. <bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="_3" targetElement="_5">
  189. <omgdi:waypoint x="415.0" y="272.5"/>
  190. <omgdi:waypoint x="520.0" y="272.5"/>
  191. <bpmndi:BPMNLabel>
  192. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  193. </bpmndi:BPMNLabel>
  194. </bpmndi:BPMNEdge>
  195. <bpmndi:BPMNEdge bpmnElement="_11" id="BPMNEdge__11" sourceElement="_6" targetElement="_7">
  196. <omgdi:waypoint x="830.0" y="272.5"/>
  197. <omgdi:waypoint x="930.0" y="272.5"/>
  198. <bpmndi:BPMNLabel>
  199. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  200. </bpmndi:BPMNLabel>
  201. </bpmndi:BPMNEdge>
  202. <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="_5" targetElement="_6">
  203. <omgdi:waypoint x="615.0" y="272.5"/>
  204. <omgdi:waypoint x="730.0" y="272.5"/>
  205. <bpmndi:BPMNLabel>
  206. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  207. </bpmndi:BPMNLabel>
  208. </bpmndi:BPMNEdge>
  209. </bpmndi:BPMNPlane>
  210. </bpmndi:BPMNDiagram>
  211. </definitions>