mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-25 17:45:33 +00:00
84 lines
4.5 KiB
XML
84 lines
4.5 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:collaboration id="Collaboration_17s0dpt">
|
|
<bpmn:participant id="Participant_0x8lk06" processRef="Process_c707ql0" />
|
|
<bpmn:correlationKey name="order">
|
|
<bpmn:correlationPropertyRef>table_number</bpmn:correlationPropertyRef>
|
|
</bpmn:correlationKey>
|
|
</bpmn:collaboration>
|
|
<bpmn:process id="Process_c707ql0" isExecutable="true">
|
|
<bpmn:sequenceFlow id="Flow_1xur8qc" sourceRef="StartEvent_1" targetRef="Activity_0cd1e5o" />
|
|
<bpmn:startEvent id="StartEvent_1" name="Chef_Start">
|
|
<bpmn:outgoing>Flow_1xur8qc</bpmn:outgoing>
|
|
<bpmn:messageEventDefinition id="MessageEventDefinition_1b4596r" messageRef="Message_1yme4ca" />
|
|
</bpmn:startEvent>
|
|
<bpmn:manualTask id="Activity_0cd1e5o" name="Meal Ready?">
|
|
<bpmn:incoming>Flow_1xur8qc</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0ey7wdm</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_0ey7wdm" sourceRef="Activity_0cd1e5o" targetRef="Activity_0te0guu" />
|
|
<bpmn:sendTask id="Activity_0te0guu" name="Send Back to Waiter" messageRef="Message_1at2lq5">
|
|
<bpmn:incoming>Flow_0ey7wdm</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0a66fz8</bpmn:outgoing>
|
|
</bpmn:sendTask>
|
|
<bpmn:endEvent id="Event_0qq9gln">
|
|
<bpmn:incoming>Flow_0a66fz8</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_0a66fz8" sourceRef="Activity_0te0guu" targetRef="Event_0qq9gln" />
|
|
</bpmn:process>
|
|
<bpmn:correlationProperty id="table_number" name="table_number">
|
|
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_1yme4ca">
|
|
<bpmn:formalExpression>table_number</bpmn:formalExpression>
|
|
</bpmn:correlationPropertyRetrievalExpression>
|
|
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_1at2lq5">
|
|
<bpmn:formalExpression>table_number</bpmn:formalExpression>
|
|
</bpmn:correlationPropertyRetrievalExpression>
|
|
</bpmn:correlationProperty>
|
|
<bpmn:message id="Message_1yme4ca" name="order_accept">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messageVariable>order_to_cook</spiffworkflow:messageVariable>
|
|
</bpmn:extensionElements>
|
|
</bpmn:message>
|
|
<bpmn:message id="Message_1at2lq5" name="order_dispatch">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messagePayload>order_to_cook</spiffworkflow:messagePayload>
|
|
</bpmn:extensionElements>
|
|
</bpmn:message>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_17s0dpt">
|
|
<bpmndi:BPMNShape id="Participant_0x8lk06_di" bpmnElement="Participant_0x8lk06" isHorizontal="true">
|
|
<dc:Bounds x="129" y="139" width="600" height="250" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0ichrlv_di" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="242" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="171" y="285" width="54" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1746fqe_di" bpmnElement="Activity_0cd1e5o">
|
|
<dc:Bounds x="270" y="220" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_09vcf3t_di" bpmnElement="Activity_0te0guu">
|
|
<dc:Bounds x="430" y="220" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0qq9gln_di" bpmnElement="Event_0qq9gln">
|
|
<dc:Bounds x="592" y="242" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1xur8qc_di" bpmnElement="Flow_1xur8qc">
|
|
<di:waypoint x="215" y="260" />
|
|
<di:waypoint x="270" y="260" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0ey7wdm_di" bpmnElement="Flow_0ey7wdm">
|
|
<di:waypoint x="370" y="260" />
|
|
<di:waypoint x="430" y="260" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0a66fz8_di" bpmnElement="Flow_0a66fz8">
|
|
<di:waypoint x="530" y="260" />
|
|
<di:waypoint x="592" y="260" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|