meetingApplyApproval.bpmn 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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="MEETING_APPROVE" name="会议报名审批" isExecutable="true">
  4. <documentation>{service:"itim-meeting-service",business:"meetingApply",viewName:"MeetingApplyZhForm"}</documentation>
  5. <startEvent id="startevent1" name="Start"></startEvent>
  6. <userTask id="usertask1" name="合作局专责" default="flow3" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
  7. <documentation>{"btns": "4,5","4":{"nextTaskName":"合作局处长","approver":"mutil","group":"MEETING.GROUP.APPROVE.HZJCZ"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
  8. </userTask>
  9. <userTask id="usertask2" name="报名人重新报名" activiti:assignee="${startUserId}">
  10. <documentation>{"btns": "6,7","edit": "true","7":{"approver":"mutil"}}</documentation>
  11. <extensionElements>
  12. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  13. </extensionElements>
  14. </userTask>
  15. <sequenceFlow id="flow3" name="驳回" sourceRef="usertask1" targetRef="usertask2">
  16. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
  17. </sequenceFlow>
  18. <userTask id="usertask3" name="合作局处长" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
  19. <documentation>{"btns": "3,4,5","3": {"approver":"none"},"4": {"approver":"none"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
  20. <extensionElements>
  21. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  22. </extensionElements>
  23. </userTask>
  24. <sequenceFlow id="flow7" name="驳回" sourceRef="usertask3" targetRef="usertask2">
  25. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
  26. </sequenceFlow>
  27. <endEvent id="endevent1" name="End"></endEvent>
  28. <endEvent id="endevent2" name="End"></endEvent>
  29. <sequenceFlow id="flow10" name="通过" sourceRef="usertask3" targetRef="endevent2">
  30. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
  31. </sequenceFlow>
  32. <sequenceFlow id="flow11" name="不通过" sourceRef="usertask3" targetRef="endevent1">
  33. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 3}]]></conditionExpression>
  34. </sequenceFlow>
  35. <sequenceFlow id="flow13" name="通过" sourceRef="usertask1" targetRef="usertask3">
  36. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
  37. </sequenceFlow>
  38. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  39. <sequenceFlow id="flow14" sourceRef="startevent1" targetRef="exclusivegateway3"></sequenceFlow>
  40. <sequenceFlow id="flow15" name="自主报名" sourceRef="exclusivegateway3" targetRef="usertask1">
  41. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${invitationCode == 000000}]]></conditionExpression>
  42. </sequenceFlow>
  43. <userTask id="usertask4" name="专责审批" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
  44. <documentation>{"btns": "3,4,5","3": {"approver":"none"},"4": {"approver":"none"},"5":{"nextTaskName":"报名人重新报名"}}</documentation>
  45. <extensionElements>
  46. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  47. </extensionElements>
  48. </userTask>
  49. <sequenceFlow id="flow17" name="被邀请报名" sourceRef="exclusivegateway3" targetRef="usertask4">
  50. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${invitationCode != 000000}]]></conditionExpression>
  51. </sequenceFlow>
  52. <sequenceFlow id="flow18" name="驳回" sourceRef="usertask4" targetRef="usertask2">
  53. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 5}]]></conditionExpression>
  54. </sequenceFlow>
  55. <sequenceFlow id="flow19" name="通过" sourceRef="usertask4" targetRef="endevent2">
  56. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 4}]]></conditionExpression>
  57. </sequenceFlow>
  58. <sequenceFlow id="flow20" name="不通过" sourceRef="usertask4" targetRef="endevent1">
  59. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 3}]]></conditionExpression>
  60. </sequenceFlow>
  61. <parallelGateway id="parallelgateway2" name="Parallel Gateway"></parallelGateway>
  62. <sequenceFlow id="flow21" sourceRef="usertask2" targetRef="parallelgateway2"></sequenceFlow>
  63. <sequenceFlow id="flow22" name="重新提交" sourceRef="parallelgateway2" targetRef="exclusivegateway3">
  64. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 7}]]></conditionExpression>
  65. </sequenceFlow>
  66. </process>
  67. <bpmndi:BPMNDiagram id="BPMNDiagram_MEETING_APPROVE">
  68. <bpmndi:BPMNPlane bpmnElement="MEETING_APPROVE" id="BPMNPlane_MEETING_APPROVE">
  69. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  70. <omgdc:Bounds height="35.0" width="35.0" x="60.0" y="170.0"></omgdc:Bounds>
  71. </bpmndi:BPMNShape>
  72. <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
  73. <omgdc:Bounds height="55.0" width="105.0" x="310.0" y="160.0"></omgdc:Bounds>
  74. </bpmndi:BPMNShape>
  75. <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
  76. <omgdc:Bounds height="55.0" width="131.0" x="425.0" y="291.0"></omgdc:Bounds>
  77. </bpmndi:BPMNShape>
  78. <bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
  79. <omgdc:Bounds height="55.0" width="105.0" x="740.0" y="160.0"></omgdc:Bounds>
  80. </bpmndi:BPMNShape>
  81. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  82. <omgdc:Bounds height="35.0" width="35.0" x="970.0" y="170.0"></omgdc:Bounds>
  83. </bpmndi:BPMNShape>
  84. <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
  85. <omgdc:Bounds height="35.0" width="35.0" x="775.0" y="70.0"></omgdc:Bounds>
  86. </bpmndi:BPMNShape>
  87. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  88. <omgdc:Bounds height="40.0" width="40.0" x="150.0" y="167.0"></omgdc:Bounds>
  89. </bpmndi:BPMNShape>
  90. <bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4">
  91. <omgdc:Bounds height="55.0" width="105.0" x="310.0" y="60.0"></omgdc:Bounds>
  92. </bpmndi:BPMNShape>
  93. <bpmndi:BPMNShape bpmnElement="parallelgateway2" id="BPMNShape_parallelgateway2">
  94. <omgdc:Bounds height="40.0" width="40.0" x="470.0" y="380.0"></omgdc:Bounds>
  95. </bpmndi:BPMNShape>
  96. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  97. <omgdi:waypoint x="415.0" y="187.0"></omgdi:waypoint>
  98. <omgdi:waypoint x="491.0" y="188.0"></omgdi:waypoint>
  99. <omgdi:waypoint x="490.0" y="291.0"></omgdi:waypoint>
  100. <bpmndi:BPMNLabel>
  101. <omgdc:Bounds height="54.0" width="24.0" x="456.0" y="230.0"></omgdc:Bounds>
  102. </bpmndi:BPMNLabel>
  103. </bpmndi:BPMNEdge>
  104. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  105. <omgdi:waypoint x="792.0" y="215.0"></omgdi:waypoint>
  106. <omgdi:waypoint x="792.0" y="318.0"></omgdi:waypoint>
  107. <omgdi:waypoint x="556.0" y="318.0"></omgdi:waypoint>
  108. <bpmndi:BPMNLabel>
  109. <omgdc:Bounds height="54.0" width="22.0" x="761.0" y="246.0"></omgdc:Bounds>
  110. </bpmndi:BPMNLabel>
  111. </bpmndi:BPMNEdge>
  112. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  113. <omgdi:waypoint x="792.0" y="160.0"></omgdi:waypoint>
  114. <omgdi:waypoint x="792.0" y="105.0"></omgdi:waypoint>
  115. <bpmndi:BPMNLabel>
  116. <omgdc:Bounds height="54.0" width="22.0" x="800.0" y="118.0"></omgdc:Bounds>
  117. </bpmndi:BPMNLabel>
  118. </bpmndi:BPMNEdge>
  119. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  120. <omgdi:waypoint x="845.0" y="187.0"></omgdi:waypoint>
  121. <omgdi:waypoint x="970.0" y="187.0"></omgdi:waypoint>
  122. <bpmndi:BPMNLabel>
  123. <omgdc:Bounds height="54.0" width="33.0" x="889.0" y="151.0"></omgdc:Bounds>
  124. </bpmndi:BPMNLabel>
  125. </bpmndi:BPMNEdge>
  126. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  127. <omgdi:waypoint x="415.0" y="187.0"></omgdi:waypoint>
  128. <omgdi:waypoint x="740.0" y="187.0"></omgdi:waypoint>
  129. <bpmndi:BPMNLabel>
  130. <omgdc:Bounds height="54.0" width="24.0" x="589.0" y="160.0"></omgdc:Bounds>
  131. </bpmndi:BPMNLabel>
  132. </bpmndi:BPMNEdge>
  133. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  134. <omgdi:waypoint x="95.0" y="187.0"></omgdi:waypoint>
  135. <omgdi:waypoint x="150.0" y="187.0"></omgdi:waypoint>
  136. </bpmndi:BPMNEdge>
  137. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  138. <omgdi:waypoint x="190.0" y="187.0"></omgdi:waypoint>
  139. <omgdi:waypoint x="310.0" y="187.0"></omgdi:waypoint>
  140. <bpmndi:BPMNLabel>
  141. <omgdc:Bounds height="54.0" width="48.0" x="210.0" y="187.0"></omgdc:Bounds>
  142. </bpmndi:BPMNLabel>
  143. </bpmndi:BPMNEdge>
  144. <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
  145. <omgdi:waypoint x="170.0" y="167.0"></omgdi:waypoint>
  146. <omgdi:waypoint x="170.0" y="87.0"></omgdi:waypoint>
  147. <omgdi:waypoint x="310.0" y="87.0"></omgdi:waypoint>
  148. <bpmndi:BPMNLabel>
  149. <omgdc:Bounds height="54.0" width="60.0" x="195.0" y="98.0"></omgdc:Bounds>
  150. </bpmndi:BPMNLabel>
  151. </bpmndi:BPMNEdge>
  152. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  153. <omgdi:waypoint x="362.0" y="115.0"></omgdi:waypoint>
  154. <omgdi:waypoint x="442.0" y="151.0"></omgdi:waypoint>
  155. <omgdi:waypoint x="490.0" y="186.0"></omgdi:waypoint>
  156. <omgdi:waypoint x="490.0" y="291.0"></omgdi:waypoint>
  157. <bpmndi:BPMNLabel>
  158. <omgdc:Bounds height="54.0" width="24.0" x="415.0" y="134.0"></omgdc:Bounds>
  159. </bpmndi:BPMNLabel>
  160. </bpmndi:BPMNEdge>
  161. <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
  162. <omgdi:waypoint x="415.0" y="87.0"></omgdi:waypoint>
  163. <omgdi:waypoint x="775.0" y="87.0"></omgdi:waypoint>
  164. <bpmndi:BPMNLabel>
  165. <omgdc:Bounds height="54.0" width="24.0" x="589.0" y="97.0"></omgdc:Bounds>
  166. </bpmndi:BPMNLabel>
  167. </bpmndi:BPMNEdge>
  168. <bpmndi:BPMNEdge bpmnElement="flow20" id="BPMNEdge_flow20">
  169. <omgdi:waypoint x="362.0" y="60.0"></omgdi:waypoint>
  170. <omgdi:waypoint x="362.0" y="47.0"></omgdi:waypoint>
  171. <omgdi:waypoint x="987.0" y="47.0"></omgdi:waypoint>
  172. <omgdi:waypoint x="987.0" y="170.0"></omgdi:waypoint>
  173. <bpmndi:BPMNLabel>
  174. <omgdc:Bounds height="54.0" width="36.0" x="650.0" y="21.0"></omgdc:Bounds>
  175. </bpmndi:BPMNLabel>
  176. </bpmndi:BPMNEdge>
  177. <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
  178. <omgdi:waypoint x="490.0" y="346.0"></omgdi:waypoint>
  179. <omgdi:waypoint x="490.0" y="380.0"></omgdi:waypoint>
  180. </bpmndi:BPMNEdge>
  181. <bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
  182. <omgdi:waypoint x="470.0" y="400.0"></omgdi:waypoint>
  183. <omgdi:waypoint x="170.0" y="399.0"></omgdi:waypoint>
  184. <omgdi:waypoint x="170.0" y="207.0"></omgdi:waypoint>
  185. <bpmndi:BPMNLabel>
  186. <omgdc:Bounds height="18.0" width="100.0" x="259.0" y="371.0"></omgdc:Bounds>
  187. </bpmndi:BPMNLabel>
  188. </bpmndi:BPMNEdge>
  189. </bpmndi:BPMNPlane>
  190. </bpmndi:BPMNDiagram>
  191. </definitions>