demo-process-models/playground/dinithi/test-subprocesses/VehicleChoice.bpmn

112 lines
5.7 KiB
XML

<?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_wchdm9t" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1gj2cue</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1gj2cue" sourceRef="StartEvent_1" targetRef="Activity_0qya4wf" />
<bpmn:subProcess id="Activity_0qya4wf" name="Select Vehicle">
<bpmn:incoming>Flow_1gj2cue</bpmn:incoming>
<bpmn:outgoing>Flow_1ay76nw</bpmn:outgoing>
<bpmn:startEvent id="Event_1k0eioa">
<bpmn:outgoing>Flow_185q96k</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_185q96k" sourceRef="Event_1k0eioa" targetRef="Activity_1isppfi" />
<bpmn:userTask id="Activity_1isppfi" name="Select Vehicle">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="vehicle-schema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_185q96k</bpmn:incoming>
<bpmn:outgoing>Flow_1dn0evz</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1dn0evz" sourceRef="Activity_1isppfi" targetRef="Activity_1utqc95" />
<bpmn:userTask id="Activity_1utqc95" name="Select Color">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="VehicleColor-schema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1dn0evz</bpmn:incoming>
<bpmn:outgoing>Flow_1llzohq</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_0u5ren1">
<bpmn:incoming>Flow_1llzohq</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1llzohq" sourceRef="Activity_1utqc95" targetRef="Event_0u5ren1" />
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_1ay76nw" sourceRef="Activity_0qya4wf" targetRef="Activity_1svzgeh" />
<bpmn:manualTask id="Activity_1svzgeh" name="Display">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>**Your choice {{color}} {{vehicletype}}**</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ay76nw</bpmn:incoming>
<bpmn:outgoing>Flow_0wk97d9</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_0x633cy">
<bpmn:incoming>Flow_0wk97d9</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0wk97d9" sourceRef="Activity_1svzgeh" targetRef="Event_0x633cy" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_wchdm9t">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-338" y="92" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1hw00wc_di" bpmnElement="Activity_0qya4wf">
<dc:Bounds x="-250" y="70" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ew9dh1_di" bpmnElement="Activity_1svzgeh">
<dc:Bounds x="-90" y="70" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0x633cy_di" bpmnElement="Event_0x633cy">
<dc:Bounds x="72" y="92" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1gj2cue_di" bpmnElement="Flow_1gj2cue">
<di:waypoint x="-302" y="110" />
<di:waypoint x="-250" y="110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ay76nw_di" bpmnElement="Flow_1ay76nw">
<di:waypoint x="-150" y="110" />
<di:waypoint x="-90" y="110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wk97d9_di" bpmnElement="Flow_0wk97d9">
<di:waypoint x="10" y="110" />
<di:waypoint x="72" y="110" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_1xmnaij">
<bpmndi:BPMNPlane id="BPMNPlane_1fkrpyl" bpmnElement="Activity_0qya4wf">
<bpmndi:BPMNShape id="Event_1k0eioa_di" bpmnElement="Event_1k0eioa">
<dc:Bounds x="322" y="282" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1pyuqhh_di" bpmnElement="Activity_1isppfi">
<dc:Bounds x="410" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1dy3em7_di" bpmnElement="Activity_1utqc95">
<dc:Bounds x="570" y="260" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0u5ren1_di" bpmnElement="Event_0u5ren1">
<dc:Bounds x="732" y="282" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_185q96k_di" bpmnElement="Flow_185q96k">
<di:waypoint x="358" y="300" />
<di:waypoint x="410" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1dn0evz_di" bpmnElement="Flow_1dn0evz">
<di:waypoint x="510" y="300" />
<di:waypoint x="570" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1llzohq_di" bpmnElement="Flow_1llzohq">
<di:waypoint x="670" y="300" />
<di:waypoint x="732" y="300" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>