结束事件 结束事件意味着(子)流程的结束。结束事件总是抛出,在到达结束事件时,引擎将抛出结果。 结束事件类型有: 普通结束事件 错误结束事件 终止结束事件 取消结束事件 1. 普通结束事件 流程到达结束事件时,引擎结束当前流程路径,不会做任何额外的事情。 流程图: [图片] XML 定义: ..

End Events of Activiti 6.x Events

结束事件

结束事件意味着(子)流程的结束。结束事件总是抛出,在到达结束事件时,引擎将抛出结果。

结束事件类型有:

1. 普通结束事件

流程到达结束事件时,引擎结束当前流程路径,不会做任何额外的事情。

流程图:
image.png

XML 定义:

<?xml version="1.0" encoding="UTF-8"?>
<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/processdef">
  <process id="normalEndProcess_1" name="普通结束事件" isExecutable="true">
    <startEvent id="startEvent1"></startEvent>
    <endEvent id="sid-DA678874-4B82-4486-A7F6-1A74E5620BE7">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{noneEndEventExecutionListener.noneEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <sequenceFlow id="sid-549AD5FC-8E41-4578-AE83-C32DFC2D6230" sourceRef="startEvent1" targetRef="sid-DA678874-4B82-4486-A7F6-1A74E5620BE7"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_NormalEndProcess_1">
    <bpmndi:BPMNPlane bpmnElement="normalEndProcess_1" id="BPMNPlane_NormalEndProcess_1">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="100.0" y="163.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-DA678874-4B82-4486-A7F6-1A74E5620BE7" id="BPMNShape_sid-DA678874-4B82-4486-A7F6-1A74E5620BE7">
        <omgdc:Bounds height="28.0" width="28.0" x="175.0" y="164.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-549AD5FC-8E41-4578-AE83-C32DFC2D6230" id="BPMNEdge_sid-549AD5FC-8E41-4578-AE83-C32DFC2D6230">
        <omgdi:waypoint x="130.0" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="175.0" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

2. 错误结束事件

当执行到错误结束事件时,引擎将结束流程并抛出一个错误,这个错误可以被边界错误事件捕获,如果没有匹配的边界错误事件,将抛出异常。错误结束事件一般配合边界错误事件一起使用才有意义。

流程图:
image.png

XML 定义:

<?xml version="1.0" encoding="UTF-8"?>
<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/processdef">
  <error id="errorEnd" name="errorEnd" errorCode="103"/>
  <process id="ErrorEndProcess_1" name="错误结束事件" isExecutable="true">
    <startEvent id="startEvent1"></startEvent>
    <subProcess id="sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348" name="subProcess">
      <startEvent id="sid-2CE86EBD-DF22-4F01-8645-D90463BD0D1D"></startEvent>
      <endEvent id="sid-2D28F6C3-1CD5-4A8A-BC52-5B659C31B1D9">
        <errorEventDefinition />
      </endEvent>
      <sequenceFlow id="sid-E5394360-75DF-4734-8648-DB9485D035DA" sourceRef="sid-2CE86EBD-DF22-4F01-8645-D90463BD0D1D" targetRef="sid-2D28F6C3-1CD5-4A8A-BC52-5B659C31B1D9"></sequenceFlow>
    </subProcess>
    <sequenceFlow id="sid-D39A4224-B4DD-4671-AEF4-98D5B64F6B7A" sourceRef="startEvent1" targetRef="sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348"></sequenceFlow>
    <endEvent id="sid-44064B37-B332-4DD7-BDB2-9A7B8DA5744E">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{errorEndEventExecutionListener.errorEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <sequenceFlow id="sid-47A44E90-629B-47B1-A447-0A68ACDEF797" sourceRef="sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348" targetRef="sid-44064B37-B332-4DD7-BDB2-9A7B8DA5744E"></sequenceFlow>
    <boundaryEvent id="sid-B67FF311-154C-42D7-9DAD-484C13F83F59" attachedToRef="sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348">
      <errorEventDefinition errorRef="errorEnd"/>
    </boundaryEvent>
    <endEvent id="sid-00163599-296A-4CBB-AEF8-D8A64CB6FF1F">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{errorEndEventExecutionListener.errorBoundaryEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <sequenceFlow id="sid-79959548-646D-4688-96F0-6CE312ECD1A9" sourceRef="sid-B67FF311-154C-42D7-9DAD-484C13F83F59" targetRef="sid-00163599-296A-4CBB-AEF8-D8A64CB6FF1F"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_ErrorEndProcess_1">
    <bpmndi:BPMNPlane bpmnElement="ErrorEndProcess_1" id="BPMNPlane_ErrorEndProcess_1">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="90.0" y="165.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348" id="BPMNShape_sid-48B1B4EA-5685-4C38-9B34-9CE5A0C7E348">
        <omgdc:Bounds height="160.0" width="200.0" x="180.0" y="100.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-2CE86EBD-DF22-4F01-8645-D90463BD0D1D" id="BPMNShape_sid-2CE86EBD-DF22-4F01-8645-D90463BD0D1D">
        <omgdc:Bounds height="30.0" width="30.0" x="213.5" y="165.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-2D28F6C3-1CD5-4A8A-BC52-5B659C31B1D9" id="BPMNShape_sid-2D28F6C3-1CD5-4A8A-BC52-5B659C31B1D9">
        <omgdc:Bounds height="28.0" width="28.0" x="288.75" y="166.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-44064B37-B332-4DD7-BDB2-9A7B8DA5744E" id="BPMNShape_sid-44064B37-B332-4DD7-BDB2-9A7B8DA5744E">
        <omgdc:Bounds height="28.0" width="28.0" x="495.0" y="166.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B67FF311-154C-42D7-9DAD-484C13F83F59" id="BPMNShape_sid-B67FF311-154C-42D7-9DAD-484C13F83F59">
        <omgdc:Bounds height="30.0" width="30.0" x="240.0" y="245.15895125748165"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-00163599-296A-4CBB-AEF8-D8A64CB6FF1F" id="BPMNShape_sid-00163599-296A-4CBB-AEF8-D8A64CB6FF1F">
        <omgdc:Bounds height="28.0" width="28.0" x="241.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-E5394360-75DF-4734-8648-DB9485D035DA" id="BPMNEdge_sid-E5394360-75DF-4734-8648-DB9485D035DA">
        <omgdi:waypoint x="243.5" y="180.0"></omgdi:waypoint>
        <omgdi:waypoint x="288.75" y="180.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-47A44E90-629B-47B1-A447-0A68ACDEF797" id="BPMNEdge_sid-47A44E90-629B-47B1-A447-0A68ACDEF797">
        <omgdi:waypoint x="380.0" y="180.0"></omgdi:waypoint>
        <omgdi:waypoint x="495.0" y="180.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-D39A4224-B4DD-4671-AEF4-98D5B64F6B7A" id="BPMNEdge_sid-D39A4224-B4DD-4671-AEF4-98D5B64F6B7A">
        <omgdi:waypoint x="120.0" y="180.0"></omgdi:waypoint>
        <omgdi:waypoint x="180.0" y="180.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-79959548-646D-4688-96F0-6CE312ECD1A9" id="BPMNEdge_sid-79959548-646D-4688-96F0-6CE312ECD1A9">
        <omgdi:waypoint x="255.0" y="275.15895125748165"></omgdi:waypoint>
        <omgdi:waypoint x="255.0" y="330.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

在流程实例执行子流程时,到达子流程中的错误结束事件,该事件抛出错误,子流程依附的边界错误事件捕获该错误,然后处理边界错误事件的下一步流程。

3. 终止结束事件

当到达流程实例的终止结束事件,将终止结束当前流程实例或子流程(第一个结束范围)。如果设置属性terminateAll为 true,则无论终止结束事件在流程何处,流程实例都将终止。

流程图:
image.png

XML 定义:

<?xml version="1.0" encoding="UTF-8"?>
<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/processdef">
  <process id="TerminateEndProcess_1" name="终止结束事件" isExecutable="true">
    <startEvent id="startEvent1"></startEvent>
    <subProcess id="sid-60134734-A764-41C4-962C-57B4FAD46646" name="subProcess">
      <startEvent id="sid-F42D4EA7-2E04-4B63-91B5-0FA4214B42A5"></startEvent>
      <endEvent id="sid-F6FE99AB-57A7-4017-BBC7-7C5A3A9315C6">
        <extensionElements>
          <activiti:executionListener event="start"
                                      expression="#{terminateEndEventExecutionListener.terminateSubEnd(execution)}"></activiti:executionListener>
        </extensionElements>
        <terminateEventDefinition activiti:terminateAll="false"></terminateEventDefinition>
      </endEvent>
      <sequenceFlow id="sid-8D911E4D-D9E7-4349-A9E8-EC964C073A37" sourceRef="sid-F42D4EA7-2E04-4B63-91B5-0FA4214B42A5" targetRef="sid-F6FE99AB-57A7-4017-BBC7-7C5A3A9315C6"></sequenceFlow>
    </subProcess>
    <endEvent id="sid-43E5B8D3-F7ED-4E29-94B0-6DBC6094EF4E">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{terminateEndEventExecutionListener.terminateEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <sequenceFlow id="sid-C333B2E9-4B45-458E-B49E-063BC5C4BF23" sourceRef="startEvent1" targetRef="sid-60134734-A764-41C4-962C-57B4FAD46646"></sequenceFlow>
    <sequenceFlow id="sid-C80D3E2A-74A0-473B-81BF-9206F72E29E2" sourceRef="sid-60134734-A764-41C4-962C-57B4FAD46646" targetRef="sid-43E5B8D3-F7ED-4E29-94B0-6DBC6094EF4E"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_TerminateEndProcess_1">
    <bpmndi:BPMNPlane bpmnElement="TerminateEndProcess_1" id="BPMNPlane_TerminateEndProcess_1">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="90.0" y="180.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-60134734-A764-41C4-962C-57B4FAD46646" id="BPMNShape_sid-60134734-A764-41C4-962C-57B4FAD46646">
        <omgdc:Bounds height="160.0" width="200.0" x="206.5" y="113.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-F42D4EA7-2E04-4B63-91B5-0FA4214B42A5" id="BPMNShape_sid-F42D4EA7-2E04-4B63-91B5-0FA4214B42A5">
        <omgdc:Bounds height="30.0" width="30.0" x="255.5" y="180.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-F6FE99AB-57A7-4017-BBC7-7C5A3A9315C6" id="BPMNShape_sid-F6FE99AB-57A7-4017-BBC7-7C5A3A9315C6">
        <omgdc:Bounds height="28.0" width="28.0" x="330.5" y="181.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-43E5B8D3-F7ED-4E29-94B0-6DBC6094EF4E" id="BPMNShape_sid-43E5B8D3-F7ED-4E29-94B0-6DBC6094EF4E">
        <omgdc:Bounds height="28.0" width="28.0" x="451.5" y="179.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-C80D3E2A-74A0-473B-81BF-9206F72E29E2" id="BPMNEdge_sid-C80D3E2A-74A0-473B-81BF-9206F72E29E2">
        <omgdi:waypoint x="406.5" y="193.0"></omgdi:waypoint>
        <omgdi:waypoint x="451.5" y="193.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-C333B2E9-4B45-458E-B49E-063BC5C4BF23" id="BPMNEdge_sid-C333B2E9-4B45-458E-B49E-063BC5C4BF23">
        <omgdi:waypoint x="119.99926117928055" y="194.85112395851831"></omgdi:waypoint>
        <omgdi:waypoint x="206.5" y="193.99255583126552"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-8D911E4D-D9E7-4349-A9E8-EC964C073A37" id="BPMNEdge_sid-8D911E4D-D9E7-4349-A9E8-EC964C073A37">
        <omgdi:waypoint x="285.5" y="195.0"></omgdi:waypoint>
        <omgdi:waypoint x="330.5" y="195.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

4. 取消结束事件

该事件必须与事务子流程结合使用,当到达取消结束事件时,抛出一个取消事件,被事务的取消边界事件捕获,捕获后会中断事务内所有执行,然后触发事务内(包含事务子流程外)的所有补偿。边界事务会等待补偿执行完毕,当补偿完成后,事务子流程会沿着取消边界事务的外出连线继续执行。

Note:
1.取消结束事件只能使用在事务子流程中。
2.取消结束事件会触发依附在子流程上的取消边界事件。
3.取消事件的触发还会导致补偿的触发,补偿只会在已完成的活动上进行补偿。

流程图:
image.png

XML 定义:

<?xml version="1.0" encoding="UTF-8"?>
<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/processdef">
  <process id="CancelEndProcess_1" name="取消结束事件" isExecutable="true">
    <startEvent id="startEvent1"></startEvent>
    <transaction id="sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481" name="subProcess">
      <startEvent id="sid-69ED923E-EAC9-477B-B43D-9545AA4BBE84"></startEvent>
      <endEvent id="sid-BFEEEF61-4D67-4E32-831D-99BA3B0DE262">
        <extensionElements>
          <activiti:executionListener event="end" expression="#{cancelEndEventExecutionListener.cancelSubEnd(execution)}"></activiti:executionListener>
        </extensionElements>
        <cancelEventDefinition></cancelEventDefinition>
      </endEvent>
      <serviceTask id="sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD" activiti:expression="#{resumeService.cancelEndSubServiceProcess(execution)}"></serviceTask>
      <boundaryEvent id="sid-FE36516E-FD58-487D-8FE9-AE0D34324825" attachedToRef="sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD" cancelActivity="false">
        <compensateEventDefinition waitForCompletion="false"></compensateEventDefinition>
      </boundaryEvent>
      <serviceTask id="sid-647097DE-7815-4B87-BD90-57D865CB1E5D" isForCompensation="true"
                   activiti:expression="#{resumeService.cancelEndSubBoundaryProcess(execution)}"></serviceTask>
      <sequenceFlow id="sid-40141D14-7DC9-427C-800B-5DE889F5CE3E" sourceRef="sid-69ED923E-EAC9-477B-B43D-9545AA4BBE84" targetRef="sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD"></sequenceFlow>
      <sequenceFlow id="sid-7366D581-B8AC-482E-A4EE-34124DEEA81D" sourceRef="sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD" targetRef="sid-BFEEEF61-4D67-4E32-831D-99BA3B0DE262"></sequenceFlow>
    </transaction>
    <endEvent id="sid-8C6D796D-D86F-40F7-9D5D-E29184542898">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{cancelEndEventExecutionListener.cancelNormalEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <endEvent id="sid-87BBAC4B-CDDA-4CDC-A881-D43B0FEC3F2E">
      <extensionElements>
        <activiti:executionListener event="end" expression="#{cancelEndEventExecutionListener.cancelBoundaryEnd(execution)}"></activiti:executionListener>
      </extensionElements>
    </endEvent>
    <boundaryEvent id="sid-01EAC883-48A4-4F39-87D9-6CC2C0CB4CE2" attachedToRef="sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481" cancelActivity="false">
      <cancelEventDefinition></cancelEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="sid-FA91BD57-6EA9-4649-BF60-B3784C4938CF" sourceRef="sid-01EAC883-48A4-4F39-87D9-6CC2C0CB4CE2" targetRef="sid-87BBAC4B-CDDA-4CDC-A881-D43B0FEC3F2E"></sequenceFlow>
    <sequenceFlow id="sid-0E54E157-3396-46A9-8855-DC01ACFFCF0B" sourceRef="sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481" targetRef="sid-8C6D796D-D86F-40F7-9D5D-E29184542898"></sequenceFlow>
    <serviceTask id="sid-3016994B-2E77-4413-B711-A8D1897D1F56" name="顺序任务" activiti:expression="#{resumeService.cancelSequenceProcess(execution)}"></serviceTask>
    <sequenceFlow id="sid-BD6A4270-A762-4735-B3E4-017C7A0C166F" sourceRef="sid-3016994B-2E77-4413-B711-A8D1897D1F56" targetRef="sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481"></sequenceFlow>
    <sequenceFlow id="sid-144C5A96-47C5-499A-B862-A04A501A1B2A" sourceRef="startEvent1" targetRef="sid-3016994B-2E77-4413-B711-A8D1897D1F56"></sequenceFlow>
    <boundaryEvent id="sid-7CBAB2F0-6C83-402C-9129-8CE057F8BC9F" attachedToRef="sid-3016994B-2E77-4413-B711-A8D1897D1F56" cancelActivity="false">
      <compensateEventDefinition waitForCompletion="false"></compensateEventDefinition>
    </boundaryEvent>
    <serviceTask id="sid-4E925047-C390-49C8-8C44-1B969FF96ED4" isForCompensation="true"
                 activiti:expression="#{resumeService.cancelSequenceEndProcess(execution)}"></serviceTask>
    <association id="sid-2C7498B2-7CAA-4D92-A03E-0EB406AE6B16" sourceRef="sid-FE36516E-FD58-487D-8FE9-AE0D34324825" targetRef="sid-647097DE-7815-4B87-BD90-57D865CB1E5D" associationDirection="None"></association>
    <association id="sid-4A3FBD2A-CE42-4AFA-B9CE-7C82E2D36044" sourceRef="sid-7CBAB2F0-6C83-402C-9129-8CE057F8BC9F" targetRef="sid-4E925047-C390-49C8-8C44-1B969FF96ED4" associationDirection="None"></association>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_CancelEndProcess_1">
    <bpmndi:BPMNPlane bpmnElement="CancelEndProcess_1" id="BPMNPlane_CancelEndProcess_1">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="0.0" y="191.5"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481" id="BPMNShape_sid-B2B06A0C-8AC5-42E0-AE37-F1D320C00481">
        <omgdc:Bounds height="263.0" width="386.0" x="450.0" y="75.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-69ED923E-EAC9-477B-B43D-9545AA4BBE84" id="BPMNShape_sid-69ED923E-EAC9-477B-B43D-9545AA4BBE84">
        <omgdc:Bounds height="30.0" width="30.0" x="465.0" y="157.5"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-BFEEEF61-4D67-4E32-831D-99BA3B0DE262" id="BPMNShape_sid-BFEEEF61-4D67-4E32-831D-99BA3B0DE262">
        <omgdc:Bounds height="28.0" width="28.0" x="660.0" y="150.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD" id="BPMNShape_sid-A7CBED9F-DF74-4B56-8369-A8F3A64E8CCD">
        <omgdc:Bounds height="80.0" width="100.0" x="525.0" y="120.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-FE36516E-FD58-487D-8FE9-AE0D34324825" id="BPMNShape_sid-FE36516E-FD58-487D-8FE9-AE0D34324825">
        <omgdc:Bounds height="30.0" width="30.0" x="555.7745898324266" y="185.6695728628938"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-647097DE-7815-4B87-BD90-57D865CB1E5D" id="BPMNShape_sid-647097DE-7815-4B87-BD90-57D865CB1E5D">
        <omgdc:Bounds height="40.0" width="69.0" x="540.0" y="255.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8C6D796D-D86F-40F7-9D5D-E29184542898" id="BPMNShape_sid-8C6D796D-D86F-40F7-9D5D-E29184542898">
        <omgdc:Bounds height="28.0" width="28.0" x="915.0" y="192.5"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-87BBAC4B-CDDA-4CDC-A881-D43B0FEC3F2E" id="BPMNShape_sid-87BBAC4B-CDDA-4CDC-A881-D43B0FEC3F2E">
        <omgdc:Bounds height="28.0" width="28.0" x="721.490614257695" y="495.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-01EAC883-48A4-4F39-87D9-6CC2C0CB4CE2" id="BPMNShape_sid-01EAC883-48A4-4F39-87D9-6CC2C0CB4CE2">
        <omgdc:Bounds height="30.0" width="30.0" x="720.490614257695" y="323.6349699762076"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-2C7498B2-7CAA-4D92-A03E-0EB406AE6B16" id="BPMNShape_sid-2C7498B2-7CAA-4D92-A03E-0EB406AE6B16">
        <omgdc:Bounds height="38.071253128785116" width="1.90811541061953" x="571.5522657596997" y="216.18598078801546"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-3016994B-2E77-4413-B711-A8D1897D1F56" id="BPMNShape_sid-3016994B-2E77-4413-B711-A8D1897D1F56">
        <omgdc:Bounds height="80.0" width="100.0" x="150.0" y="166.5"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7CBAB2F0-6C83-402C-9129-8CE057F8BC9F" id="BPMNShape_sid-7CBAB2F0-6C83-402C-9129-8CE057F8BC9F">
        <omgdc:Bounds height="30.0" width="30.0" x="165.0" y="231.72287342309488"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4A3FBD2A-CE42-4AFA-B9CE-7C82E2D36044" id="BPMNShape_sid-4A3FBD2A-CE42-4AFA-B9CE-7C82E2D36044">
        <omgdc:Bounds height="52.13856328845259" width="0.0" x="180.0" y="262.10342929659004"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-4E925047-C390-49C8-8C44-1B969FF96ED4" id="BPMNShape_sid-4E925047-C390-49C8-8C44-1B969FF96ED4">
        <omgdc:Bounds height="80.0" width="100.0" x="130.0" y="315.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-FA91BD57-6EA9-4649-BF60-B3784C4938CF" id="BPMNEdge_sid-FA91BD57-6EA9-4649-BF60-B3784C4938CF">
        <omgdi:waypoint x="735.490614257695" y="353.63496997620757"></omgdi:waypoint>
        <omgdi:waypoint x="735.490614257695" y="495.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-40141D14-7DC9-427C-800B-5DE889F5CE3E" id="BPMNEdge_sid-40141D14-7DC9-427C-800B-5DE889F5CE3E">
        <omgdi:waypoint x="494.8718144331382" y="170.54318231142918"></omgdi:waypoint>
        <omgdi:waypoint x="525.0" y="166.57894736842104"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-BD6A4270-A762-4735-B3E4-017C7A0C166F" id="BPMNEdge_sid-BD6A4270-A762-4735-B3E4-017C7A0C166F">
        <omgdi:waypoint x="250.0" y="206.5"></omgdi:waypoint>
        <omgdi:waypoint x="450.0" y="206.5"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-4A3FBD2A-CE42-4AFA-B9CE-7C82E2D36044" id="BPMNEdge_sid-4A3FBD2A-CE42-4AFA-B9CE-7C82E2D36044">
        <omgdi:waypoint x="180.0" y="261.7228734230949"></omgdi:waypoint>
        <omgdi:waypoint x="180.0" y="315.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-2C7498B2-7CAA-4D92-A03E-0EB406AE6B16" id="BPMNEdge_sid-2C7498B2-7CAA-4D92-A03E-0EB406AE6B16">
        <omgdi:waypoint x="571.5254411412125" y="215.6507684864779"></omgdi:waypoint>
        <omgdi:waypoint x="573.4976082982271" y="255.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-0E54E157-3396-46A9-8855-DC01ACFFCF0B" id="BPMNEdge_sid-0E54E157-3396-46A9-8855-DC01ACFFCF0B">
        <omgdi:waypoint x="836.0" y="206.5"></omgdi:waypoint>
        <omgdi:waypoint x="915.0" y="206.5"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-7366D581-B8AC-482E-A4EE-34124DEEA81D" id="BPMNEdge_sid-7366D581-B8AC-482E-A4EE-34124DEEA81D">
        <omgdi:waypoint x="625.0" y="162.02020202020202"></omgdi:waypoint>
        <omgdi:waypoint x="660.0114134330599" y="163.43480458315395"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-144C5A96-47C5-499A-B862-A04A501A1B2A" id="BPMNEdge_sid-144C5A96-47C5-499A-B862-A04A501A1B2A">
        <omgdi:waypoint x="30.0" y="206.5"></omgdi:waypoint>
        <omgdi:waypoint x="150.0" y="206.5"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>
回帖
请输入回帖内容...