memberApproval.bpmn 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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="MEMBER_APPROVAL" name="会员入会审批" isExecutable="true">
  4. <documentation>{service:"itim-project-service",business:"baseMemberApply",viewName:"membershipProfile"}</documentation>
  5. <startEvent id="startevent1" name="Start"></startEvent>
  6. <userTask id="usertask2" name="初步审核" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
  7. <documentation>{"btns": "4,5","4":{"nextTaskName":"合作组织审议"},"5":{"nextTaskName":"申请人修改"}}</documentation>
  8. <extensionElements>
  9. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  10. </extensionElements>
  11. </userTask>
  12. <userTask id="usertask1" name="申请人修改" activiti:assignee="${startUserId}">
  13. <documentation>{"btns": "6,7","edit": "true","7":{"nextTaskName":"初步审核","approver":"mutil","group":"MEMBER.GROUP.APPROVE.APPLY"}}</documentation>
  14. <extensionElements>
  15. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  16. </extensionElements>
  17. </userTask>
  18. <sequenceFlow id="flow2" sourceRef="startevent1" targetRef="usertask2"></sequenceFlow>
  19. <userTask id="usertask5" name="合作组织审议" activiti:assignee="${assignee}" activiti:candidateUsers="${candidateUsers}">
  20. <documentation>{"btns": "3,4,5","3": {"approver":"none"},"4": {"approver":"none"},"5":{"nextTaskName":"初步审核"}}</documentation>
  21. <extensionElements>
  22. <activiti:taskListener event="complete" class="com.xlkh.cloud.platform.listener.SyncStatusListener"></activiti:taskListener>
  23. </extensionElements>
  24. </userTask>
  25. <endEvent id="endevent1" name="End"></endEvent>
  26. <endEvent id="endevent2" name="End"></endEvent>
  27. <sequenceFlow id="flow9" name="通过" sourceRef="usertask5" targetRef="endevent2">
  28. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved==4}]]></conditionExpression>
  29. </sequenceFlow>
  30. <sequenceFlow id="flow10" name="不通过" sourceRef="usertask5" targetRef="endevent1">
  31. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved==3}]]></conditionExpression>
  32. </sequenceFlow>
  33. <sequenceFlow id="flow18" name="审批驳回" sourceRef="usertask2" targetRef="usertask1">
  34. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved==5}]]></conditionExpression>
  35. </sequenceFlow>
  36. <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
  37. <sequenceFlow id="flow19" sourceRef="usertask1" targetRef="exclusivegateway1"></sequenceFlow>
  38. <sequenceFlow id="flow20" name="重新提交" sourceRef="exclusivegateway1" targetRef="usertask2">
  39. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 7}]]></conditionExpression>
  40. </sequenceFlow>
  41. <sequenceFlow id="flow21" name="取消申请" sourceRef="exclusivegateway1" targetRef="endevent1">
  42. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved == 6}]]></conditionExpression>
  43. </sequenceFlow>
  44. <sequenceFlow id="flow22" name="通过" sourceRef="usertask2" targetRef="usertask5">
  45. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved==4}]]></conditionExpression>
  46. </sequenceFlow>
  47. <sequenceFlow id="flow23" name="审批驳回" sourceRef="usertask5" targetRef="usertask2">
  48. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${approved==5}]]></conditionExpression>
  49. </sequenceFlow>
  50. </process>
  51. <bpmndi:BPMNDiagram id="BPMNDiagram_MEMBER_APPROVAL">
  52. <bpmndi:BPMNPlane bpmnElement="MEMBER_APPROVAL" id="BPMNPlane_MEMBER_APPROVAL">
  53. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  54. <omgdc:Bounds height="35.0" width="35.0" x="120.0" y="302.0"></omgdc:Bounds>
  55. </bpmndi:BPMNShape>
  56. <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
  57. <omgdc:Bounds height="55.0" width="105.0" x="220.0" y="292.0"></omgdc:Bounds>
  58. </bpmndi:BPMNShape>
  59. <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
  60. <omgdc:Bounds height="55.0" width="105.0" x="501.0" y="467.0"></omgdc:Bounds>
  61. </bpmndi:BPMNShape>
  62. <bpmndi:BPMNShape bpmnElement="usertask5" id="BPMNShape_usertask5">
  63. <omgdc:Bounds height="55.0" width="105.0" x="710.0" y="292.0"></omgdc:Bounds>
  64. </bpmndi:BPMNShape>
  65. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  66. <omgdc:Bounds height="35.0" width="35.0" x="880.0" y="420.0"></omgdc:Bounds>
  67. </bpmndi:BPMNShape>
  68. <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
  69. <omgdc:Bounds height="35.0" width="35.0" x="880.0" y="160.0"></omgdc:Bounds>
  70. </bpmndi:BPMNShape>
  71. <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
  72. <omgdc:Bounds height="40.0" width="40.0" x="533.0" y="560.0"></omgdc:Bounds>
  73. </bpmndi:BPMNShape>
  74. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  75. <omgdi:waypoint x="155.0" y="319.0"></omgdi:waypoint>
  76. <omgdi:waypoint x="220.0" y="319.0"></omgdi:waypoint>
  77. </bpmndi:BPMNEdge>
  78. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  79. <omgdi:waypoint x="815.0" y="319.0"></omgdi:waypoint>
  80. <omgdi:waypoint x="897.0" y="319.0"></omgdi:waypoint>
  81. <omgdi:waypoint x="897.0" y="195.0"></omgdi:waypoint>
  82. <bpmndi:BPMNLabel>
  83. <omgdc:Bounds height="14.0" width="100.0" x="864.0" y="250.0"></omgdc:Bounds>
  84. </bpmndi:BPMNLabel>
  85. </bpmndi:BPMNEdge>
  86. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  87. <omgdi:waypoint x="815.0" y="319.0"></omgdi:waypoint>
  88. <omgdi:waypoint x="897.0" y="319.0"></omgdi:waypoint>
  89. <omgdi:waypoint x="897.0" y="420.0"></omgdi:waypoint>
  90. <bpmndi:BPMNLabel>
  91. <omgdc:Bounds height="14.0" width="36.0" x="858.0" y="372.0"></omgdc:Bounds>
  92. </bpmndi:BPMNLabel>
  93. </bpmndi:BPMNEdge>
  94. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  95. <omgdi:waypoint x="325.0" y="319.0"></omgdi:waypoint>
  96. <omgdi:waypoint x="553.0" y="319.0"></omgdi:waypoint>
  97. <omgdi:waypoint x="553.0" y="397.0"></omgdi:waypoint>
  98. <omgdi:waypoint x="553.0" y="467.0"></omgdi:waypoint>
  99. <bpmndi:BPMNLabel>
  100. <omgdc:Bounds height="14.0" width="48.0" x="500.0" y="385.0"></omgdc:Bounds>
  101. </bpmndi:BPMNLabel>
  102. </bpmndi:BPMNEdge>
  103. <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
  104. <omgdi:waypoint x="553.0" y="522.0"></omgdi:waypoint>
  105. <omgdi:waypoint x="553.0" y="560.0"></omgdi:waypoint>
  106. </bpmndi:BPMNEdge>
  107. <bpmndi:BPMNEdge bpmnElement="flow20" id="BPMNEdge_flow20">
  108. <omgdi:waypoint x="533.0" y="580.0"></omgdi:waypoint>
  109. <omgdi:waypoint x="272.0" y="579.0"></omgdi:waypoint>
  110. <omgdi:waypoint x="272.0" y="347.0"></omgdi:waypoint>
  111. <bpmndi:BPMNLabel>
  112. <omgdc:Bounds height="14.0" width="48.0" x="361.0" y="561.0"></omgdc:Bounds>
  113. </bpmndi:BPMNLabel>
  114. </bpmndi:BPMNEdge>
  115. <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
  116. <omgdi:waypoint x="573.0" y="580.0"></omgdi:waypoint>
  117. <omgdi:waypoint x="897.0" y="579.0"></omgdi:waypoint>
  118. <omgdi:waypoint x="897.0" y="455.0"></omgdi:waypoint>
  119. <bpmndi:BPMNLabel>
  120. <omgdc:Bounds height="14.0" width="48.0" x="766.0" y="561.0"></omgdc:Bounds>
  121. </bpmndi:BPMNLabel>
  122. </bpmndi:BPMNEdge>
  123. <bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
  124. <omgdi:waypoint x="325.0" y="319.0"></omgdi:waypoint>
  125. <omgdi:waypoint x="710.0" y="319.0"></omgdi:waypoint>
  126. <bpmndi:BPMNLabel>
  127. <omgdc:Bounds height="14.0" width="24.0" x="604.0" y="302.0"></omgdc:Bounds>
  128. </bpmndi:BPMNLabel>
  129. </bpmndi:BPMNEdge>
  130. <bpmndi:BPMNEdge bpmnElement="flow23" id="BPMNEdge_flow23">
  131. <omgdi:waypoint x="762.0" y="292.0"></omgdi:waypoint>
  132. <omgdi:waypoint x="762.0" y="216.0"></omgdi:waypoint>
  133. <omgdi:waypoint x="272.0" y="216.0"></omgdi:waypoint>
  134. <omgdi:waypoint x="272.0" y="292.0"></omgdi:waypoint>
  135. <bpmndi:BPMNLabel>
  136. <omgdc:Bounds height="14.0" width="48.0" x="504.0" y="195.0"></omgdc:Bounds>
  137. </bpmndi:BPMNLabel>
  138. </bpmndi:BPMNEdge>
  139. </bpmndi:BPMNPlane>
  140. </bpmndi:BPMNDiagram>
  141. </definitions>