152 lines
8.0 KiB
Plaintext
Raw Normal View History

2024-07-15 10:51:00 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_unit_test_sub_process_with_terminate_end_event_n9jjahg" name="Unit Test Sub Process with Terminate End Event" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
<bpmn:endEvent id="EndEvent_1">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>End Unit Test Sub Process with Terminate End Event.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
<bpmn:subProcess id="Activity_0qpzdpu" name="Sub Process with Terminate End Event">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser />
</bpmn:extensionElements>
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
<bpmn:startEvent id="Event_0c5muj2">
<bpmn:outgoing>Flow_1yu25k7</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1yu25k7" sourceRef="Event_0c5muj2" targetRef="Activity_0be8mp9" />
<bpmn:sequenceFlow id="Flow_1b9mp1c" sourceRef="Activity_0be8mp9" targetRef="Activity_1rl28lx" />
<bpmn:manualTask id="Activity_0be8mp9" name="Grocery Shopping">
<bpmn:incoming>Flow_1yu25k7</bpmn:incoming>
<bpmn:outgoing>Flow_1b9mp1c</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:userTask id="Activity_1rl28lx" name="Additional Money Left?">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="check-balance-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="check-balance-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1b9mp1c</bpmn:incoming>
<bpmn:outgoing>Flow_1vfz02c</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_0nog5r0" default="Flow_1eejxjl">
<bpmn:incoming>Flow_1vfz02c</bpmn:incoming>
<bpmn:outgoing>Flow_02c5xgs</bpmn:outgoing>
<bpmn:outgoing>Flow_1eejxjl</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1vfz02c" sourceRef="Activity_1rl28lx" targetRef="Gateway_0nog5r0" />
<bpmn:sequenceFlow id="Flow_02c5xgs" name="No Money" sourceRef="Gateway_0nog5r0" targetRef="Event_17ucbaf">
<bpmn:conditionExpression>balance == 'No'</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="Event_17ucbaf" name="Terminate End Event">
<bpmn:incoming>Flow_02c5xgs</bpmn:incoming>
<bpmn:terminateEventDefinition id="TerminateEventDefinition_1pairmu" />
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1eejxjl" name="Had Money" sourceRef="Gateway_0nog5r0" targetRef="Activity_10in12o" />
<bpmn:endEvent id="Event_1l8ynoi" name="End">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser />
</bpmn:extensionElements>
<bpmn:incoming>Flow_047dy7k</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_047dy7k" sourceRef="Activity_10in12o" targetRef="Event_1l8ynoi" />
<bpmn:manualTask id="Activity_10in12o" name="Buy an Ice Cream">
<bpmn:incoming>Flow_1eejxjl</bpmn:incoming>
<bpmn:outgoing>Flow_047dy7k</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:subProcess>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_unit_test_sub_process_with_terminate_end_event_n9jjahg">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1yxwgi2_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_0sgzrrr">
<bpmndi:BPMNPlane id="BPMNPlane_0u6a261" bpmnElement="Activity_0qpzdpu">
<bpmndi:BPMNShape id="Event_0c5muj2_di" bpmnElement="Event_0c5muj2">
<dc:Bounds x="202" y="242" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1o1dodr_di" bpmnElement="Activity_0be8mp9">
<dc:Bounds x="290" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1tvla1o_di" bpmnElement="Activity_1rl28lx">
<dc:Bounds x="450" y="220" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0nog5r0_di" bpmnElement="Gateway_0nog5r0" isMarkerVisible="true">
<dc:Bounds x="615" y="235" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_12wjs8a_di" bpmnElement="Event_17ucbaf">
<dc:Bounds x="732" y="242" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="716" y="285" width="70" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l8ynoi_di" bpmnElement="Event_1l8ynoi">
<dc:Bounds x="922" y="352" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="930" y="395" width="20" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1j72t5v_di" bpmnElement="Activity_10in12o">
<dc:Bounds x="740" y="330" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1yu25k7_di" bpmnElement="Flow_1yu25k7">
<di:waypoint x="238" y="260" />
<di:waypoint x="290" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1b9mp1c_di" bpmnElement="Flow_1b9mp1c">
<di:waypoint x="390" y="260" />
<di:waypoint x="450" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1vfz02c_di" bpmnElement="Flow_1vfz02c">
<di:waypoint x="550" y="260" />
<di:waypoint x="615" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02c5xgs_di" bpmnElement="Flow_02c5xgs">
<di:waypoint x="665" y="260" />
<di:waypoint x="732" y="260" />
<bpmndi:BPMNLabel>
<dc:Bounds x="673" y="242" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1eejxjl_di" bpmnElement="Flow_1eejxjl">
<di:waypoint x="640" y="285" />
<di:waypoint x="640" y="370" />
<di:waypoint x="740" y="370" />
<bpmndi:BPMNLabel>
<dc:Bounds x="628" y="325" width="57" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_047dy7k_di" bpmnElement="Flow_047dy7k">
<di:waypoint x="840" y="370" />
<di:waypoint x="922" y="370" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>