bpmn-js/test/fixtures/bpmn/nested-subprocesses.bpmn

119 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_ywazMDK5EeScr6nb_20jUA" exporter="camunda modeler" exporterVersion="2.6.0" targetNamespace="http://activiti.org/bpmn">
<bpmn2:process id="Process_1" isExecutable="false">
<bpmn2:subProcess id="SubProcess_1">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
<bpmn2:subProcess id="SubProcess_2">
<bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
<bpmn2:startEvent id="StartEvent_1">
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="StartEvent_1" targetRef="UserTask_1"/>
<bpmn2:userTask id="UserTask_1">
<bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
</bpmn2:userTask>
<bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="UserTask_1" targetRef="EndEvent_1"/>
<bpmn2:endEvent id="EndEvent_1">
<bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
</bpmn2:endEvent>
</bpmn2:subProcess>
<bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="SubProcess_2" targetRef="ExclusiveGateway_1"/>
<bpmn2:startEvent id="StartEvent_3">
<bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="StartEvent_3" targetRef="SubProcess_2"/>
<bpmn2:exclusiveGateway id="ExclusiveGateway_1">
<bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
</bpmn2:exclusiveGateway>
</bpmn2:subProcess>
<bpmn2:startEvent id="StartEvent_2">
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_2" targetRef="SubProcess_1"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_SubProcess_2" bpmnElement="SubProcess_1" isExpanded="true">
<dc:Bounds height="349.0" width="841.0" x="168.0" y="144.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_SubProcess_3" bpmnElement="SubProcess_2" isExpanded="true">
<dc:Bounds height="301.0" width="517.0" x="336.0" y="168.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_8" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="415.0" y="288.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="433.0" y="329.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_9" bpmnElement="StartEvent_2">
<dc:Bounds height="36.0" width="36.0" x="26.0" y="224.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_9" targetElement="_BPMNShape_SubProcess_2">
<di:waypoint xsi:type="dc:Point" x="62.0" y="242.0"/>
<di:waypoint xsi:type="dc:Point" x="115.0" y="242.0"/>
<di:waypoint xsi:type="dc:Point" x="115.0" y="318.0"/>
<di:waypoint xsi:type="dc:Point" x="168.0" y="318.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="112.0" y="264.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_UserTask_3" bpmnElement="UserTask_1">
<dc:Bounds height="80.0" width="100.0" x="564.0" y="238.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_8" targetElement="_BPMNShape_UserTask_3">
<di:waypoint xsi:type="dc:Point" x="433.0" y="324.0"/>
<di:waypoint xsi:type="dc:Point" x="433.0" y="415.0"/>
<di:waypoint xsi:type="dc:Point" x="614.0" y="415.0"/>
<di:waypoint xsi:type="dc:Point" x="614.0" y="318.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="430.0" y="349.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_EndEvent_24" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="696.0" y="348.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="714.0" y="389.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_UserTask_3" targetElement="_BPMNShape_EndEvent_24">
<di:waypoint xsi:type="dc:Point" x="664.0" y="278.0"/>
<di:waypoint xsi:type="dc:Point" x="794.0" y="278.0"/>
<di:waypoint xsi:type="dc:Point" x="794.0" y="366.0"/>
<di:waypoint xsi:type="dc:Point" x="732.0" y="366.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="686.0" y="278.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_10" bpmnElement="StartEvent_3">
<dc:Bounds height="36.0" width="36.0" x="216.0" y="216.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="234.0" y="257.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_StartEvent_10" targetElement="_BPMNShape_SubProcess_3">
<di:waypoint xsi:type="dc:Point" x="252.0" y="234.0"/>
<di:waypoint xsi:type="dc:Point" x="294.0" y="234.0"/>
<di:waypoint xsi:type="dc:Point" x="294.0" y="318.0"/>
<di:waypoint xsi:type="dc:Point" x="336.0" y="318.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="291.0" y="245.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_2" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
<dc:Bounds height="50.0" width="50.0" x="936.0" y="201.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="961.0" y="256.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_SubProcess_3" targetElement="_BPMNShape_ExclusiveGateway_2">
<di:waypoint xsi:type="dc:Point" x="852.0" y="253.0"/>
<di:waypoint xsi:type="dc:Point" x="936.0" y="232.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="915.0" y="236.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>