zc-city.bpmn 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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: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="zc-city" name="自查隐患" isExecutable="true">
  4. <startEvent id="startevent" name="Start" activiti:initiator="applyUserId"></startEvent>
  5. <userTask id="tb" name="wf.tb" activiti:candidateGroups="${role_jyr}"></userTask>
  6. <userTask id="sc" name="wf.sc" activiti:candidateGroups="${role_sc}"></userTask>
  7. <sequenceFlow id="flow5" sourceRef="exclusivegateway3" targetRef="sc">
  8. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_zb}]]></conditionExpression>
  9. </sequenceFlow>
  10. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  11. <sequenceFlow id="flow6" sourceRef="sc" targetRef="exclusivegateway2"></sequenceFlow>
  12. <sequenceFlow id="flow7" name="不通过" sourceRef="exclusivegateway2" targetRef="tb">
  13. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc&&!auditPass_zb}]]></conditionExpression>
  14. </sequenceFlow>
  15. <endEvent id="endevent" name="End"></endEvent>
  16. <sequenceFlow id="flow8" name="通过" sourceRef="exclusivegateway2" targetRef="endevent">
  17. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc&&!auditPass_zb}]]></conditionExpression>
  18. </sequenceFlow>
  19. <sequenceFlow id="flow9" sourceRef="startevent" targetRef="tb"></sequenceFlow>
  20. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  21. <sequenceFlow id="flow10" sourceRef="tb" targetRef="exclusivegateway3"></sequenceFlow>
  22. <userTask id="sl" name="wf.sl" activiti:candidateGroups="${role_sl}"></userTask>
  23. <sequenceFlow id="flow11" name="转报" sourceRef="exclusivegateway3" targetRef="sl">
  24. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_zb}]]></conditionExpression>
  25. </sequenceFlow>
  26. <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
  27. <sequenceFlow id="flow12" sourceRef="sl" targetRef="exclusivegateway4"></sequenceFlow>
  28. <sequenceFlow id="flow13" name="通过" sourceRef="exclusivegateway4" targetRef="endevent">
  29. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc}]]></conditionExpression>
  30. </sequenceFlow>
  31. <sequenceFlow id="flow14" name="不通过" sourceRef="exclusivegateway4" targetRef="tb">
  32. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc}]]></conditionExpression>
  33. </sequenceFlow>
  34. <sequenceFlow id="flow15" name="转报" sourceRef="exclusivegateway2" targetRef="sl">
  35. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_zb}]]></conditionExpression>
  36. </sequenceFlow>
  37. </process>
  38. <bpmndi:BPMNDiagram id="BPMNDiagram_zc-city">
  39. <bpmndi:BPMNPlane bpmnElement="zc-city" id="BPMNPlane_zc-city">
  40. <bpmndi:BPMNShape bpmnElement="startevent" id="BPMNShape_startevent">
  41. <omgdc:Bounds height="35.0" width="35.0" x="50.0" y="190.0"></omgdc:Bounds>
  42. </bpmndi:BPMNShape>
  43. <bpmndi:BPMNShape bpmnElement="tb" id="BPMNShape_tb">
  44. <omgdc:Bounds height="55.0" width="105.0" x="150.0" y="180.0"></omgdc:Bounds>
  45. </bpmndi:BPMNShape>
  46. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  47. <omgdc:Bounds height="40.0" width="40.0" x="590.0" y="187.0"></omgdc:Bounds>
  48. </bpmndi:BPMNShape>
  49. <bpmndi:BPMNShape bpmnElement="endevent" id="BPMNShape_endevent">
  50. <omgdc:Bounds height="35.0" width="35.0" x="720.0" y="190.0"></omgdc:Bounds>
  51. </bpmndi:BPMNShape>
  52. <bpmndi:BPMNShape bpmnElement="sc" id="BPMNShape_sc">
  53. <omgdc:Bounds height="55.0" width="105.0" x="401.0" y="180.0"></omgdc:Bounds>
  54. </bpmndi:BPMNShape>
  55. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  56. <omgdc:Bounds height="40.0" width="40.0" x="299.0" y="187.0"></omgdc:Bounds>
  57. </bpmndi:BPMNShape>
  58. <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">
  59. <omgdc:Bounds height="40.0" width="40.0" x="590.0" y="287.0"></omgdc:Bounds>
  60. </bpmndi:BPMNShape>
  61. <bpmndi:BPMNShape bpmnElement="sl" id="BPMNShape_sl">
  62. <omgdc:Bounds height="55.0" width="105.0" x="401.0" y="280.0"></omgdc:Bounds>
  63. </bpmndi:BPMNShape>
  64. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  65. <omgdi:waypoint x="339.0" y="207.0"></omgdi:waypoint>
  66. <omgdi:waypoint x="401.0" y="207.0"></omgdi:waypoint>
  67. </bpmndi:BPMNEdge>
  68. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  69. <omgdi:waypoint x="506.0" y="207.0"></omgdi:waypoint>
  70. <omgdi:waypoint x="590.0" y="207.0"></omgdi:waypoint>
  71. </bpmndi:BPMNEdge>
  72. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  73. <omgdi:waypoint x="610.0" y="187.0"></omgdi:waypoint>
  74. <omgdi:waypoint x="609.0" y="126.0"></omgdi:waypoint>
  75. <omgdi:waypoint x="202.0" y="126.0"></omgdi:waypoint>
  76. <omgdi:waypoint x="202.0" y="180.0"></omgdi:waypoint>
  77. <bpmndi:BPMNLabel>
  78. <omgdc:Bounds height="14.0" width="36.0" x="-9.0" y="4.0"></omgdc:Bounds>
  79. </bpmndi:BPMNLabel>
  80. </bpmndi:BPMNEdge>
  81. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  82. <omgdi:waypoint x="630.0" y="207.0"></omgdi:waypoint>
  83. <omgdi:waypoint x="720.0" y="207.0"></omgdi:waypoint>
  84. <bpmndi:BPMNLabel>
  85. <omgdc:Bounds height="14.0" width="24.0" x="-12.0" y="7.0"></omgdc:Bounds>
  86. </bpmndi:BPMNLabel>
  87. </bpmndi:BPMNEdge>
  88. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  89. <omgdi:waypoint x="85.0" y="207.0"></omgdi:waypoint>
  90. <omgdi:waypoint x="150.0" y="207.0"></omgdi:waypoint>
  91. </bpmndi:BPMNEdge>
  92. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  93. <omgdi:waypoint x="255.0" y="207.0"></omgdi:waypoint>
  94. <omgdi:waypoint x="299.0" y="207.0"></omgdi:waypoint>
  95. </bpmndi:BPMNEdge>
  96. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  97. <omgdi:waypoint x="319.0" y="227.0"></omgdi:waypoint>
  98. <omgdi:waypoint x="319.0" y="307.0"></omgdi:waypoint>
  99. <omgdi:waypoint x="401.0" y="307.0"></omgdi:waypoint>
  100. <bpmndi:BPMNLabel>
  101. <omgdc:Bounds height="14.0" width="24.0" x="10.0" y="0.0"></omgdc:Bounds>
  102. </bpmndi:BPMNLabel>
  103. </bpmndi:BPMNEdge>
  104. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  105. <omgdi:waypoint x="506.0" y="307.0"></omgdi:waypoint>
  106. <omgdi:waypoint x="590.0" y="307.0"></omgdi:waypoint>
  107. </bpmndi:BPMNEdge>
  108. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  109. <omgdi:waypoint x="630.0" y="307.0"></omgdi:waypoint>
  110. <omgdi:waypoint x="737.0" y="306.0"></omgdi:waypoint>
  111. <omgdi:waypoint x="737.0" y="225.0"></omgdi:waypoint>
  112. <bpmndi:BPMNLabel>
  113. <omgdc:Bounds height="14.0" width="24.0" x="10.0" y="0.0"></omgdc:Bounds>
  114. </bpmndi:BPMNLabel>
  115. </bpmndi:BPMNEdge>
  116. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  117. <omgdi:waypoint x="610.0" y="327.0"></omgdi:waypoint>
  118. <omgdi:waypoint x="609.0" y="378.0"></omgdi:waypoint>
  119. <omgdi:waypoint x="202.0" y="378.0"></omgdi:waypoint>
  120. <omgdi:waypoint x="202.0" y="235.0"></omgdi:waypoint>
  121. <bpmndi:BPMNLabel>
  122. <omgdc:Bounds height="14.0" width="36.0" x="10.0" y="0.0"></omgdc:Bounds>
  123. </bpmndi:BPMNLabel>
  124. </bpmndi:BPMNEdge>
  125. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  126. <omgdi:waypoint x="610.0" y="227.0"></omgdi:waypoint>
  127. <omgdi:waypoint x="609.0" y="258.0"></omgdi:waypoint>
  128. <omgdi:waypoint x="454.0" y="258.0"></omgdi:waypoint>
  129. <omgdi:waypoint x="453.0" y="280.0"></omgdi:waypoint>
  130. <bpmndi:BPMNLabel>
  131. <omgdc:Bounds height="14.0" width="24.0" x="10.0" y="0.0"></omgdc:Bounds>
  132. </bpmndi:BPMNLabel>
  133. </bpmndi:BPMNEdge>
  134. </bpmndi:BPMNPlane>
  135. </bpmndi:BPMNDiagram>
  136. </definitions>