mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 22:18:14 +00:00
94 lines
4.4 KiB
XML
94 lines
4.4 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_czj1py8" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_0t3woax</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_0t3woax" sourceRef="StartEvent_1" targetRef="Activity_1hyh6xu" />
|
|
<bpmn:endEvent id="Event_0rz08m3">
|
|
<bpmn:incoming>Flow_0ugax3q</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_0lhcp2j" sourceRef="Activity_1hyh6xu" targetRef="Activity_0pgeug8" />
|
|
<bpmn:manualTask id="Activity_1hyh6xu" name="Welcome Message">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser># Welcome to Dan's Pizza Palace!
|
|
|
|
For all your pizza ordering needs! </spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0t3woax</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0lhcp2j</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_11zyvp0" sourceRef="Activity_0pgeug8" targetRef="Activity_0idlgxz" />
|
|
<bpmn:userTask id="Activity_0pgeug8" name="Select Pizza">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:properties>
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="select-pizza-schema.json" />
|
|
<spiffworkflow:property name="formUiSchemaFilename" value="select-pizza-uischema.json" />
|
|
</spiffworkflow:properties>
|
|
<spiffworkflow:preScript>pizza_sizes = [
|
|
{
|
|
"value": "small",
|
|
"label": "small"
|
|
},
|
|
{
|
|
"value": "medium",
|
|
"label": "medium"
|
|
},
|
|
{
|
|
"value": "large",
|
|
"label": "large"
|
|
}
|
|
]</spiffworkflow:preScript>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0lhcp2j</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_11zyvp0</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:sequenceFlow id="Flow_0ugax3q" sourceRef="Activity_0idlgxz" targetRef="Event_0rz08m3" />
|
|
<bpmn:businessRuleTask id="Activity_0idlgxz" name="Calculate Cost">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_11zyvp0</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0ugax3q</bpmn:outgoing>
|
|
</bpmn:businessRuleTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_czj1py8">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="-248" y="-38" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0rz08m3_di" bpmnElement="Event_0rz08m3">
|
|
<dc:Bounds x="392" y="-38" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1umtp8c_di" bpmnElement="Activity_1hyh6xu">
|
|
<dc:Bounds x="-160" y="-60" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0uwjwnd_di" bpmnElement="Activity_0pgeug8">
|
|
<dc:Bounds x="-10" y="-60" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0h6txs2_di" bpmnElement="Activity_0idlgxz">
|
|
<dc:Bounds x="130" y="-60" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0t3woax_di" bpmnElement="Flow_0t3woax">
|
|
<di:waypoint x="-212" y="-20" />
|
|
<di:waypoint x="-160" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0lhcp2j_di" bpmnElement="Flow_0lhcp2j">
|
|
<di:waypoint x="-60" y="-20" />
|
|
<di:waypoint x="-10" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_11zyvp0_di" bpmnElement="Flow_11zyvp0">
|
|
<di:waypoint x="90" y="-20" />
|
|
<di:waypoint x="130" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0ugax3q_di" bpmnElement="Flow_0ugax3q">
|
|
<di:waypoint x="230" y="-20" />
|
|
<di:waypoint x="392" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|