mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 23:28:18 +00:00
78 lines
3.6 KiB
XML
78 lines
3.6 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_gpy73c8" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_0pze8h7</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_0pze8h7" sourceRef="StartEvent_1" targetRef="Activity_1yfwya2" />
|
|
<bpmn:endEvent id="Event_0js86mf">
|
|
<bpmn:incoming>Flow_0uthtui</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1vgkwps" sourceRef="Activity_1yfwya2" targetRef="Activity_1rjhndn" />
|
|
<bpmn:manualTask id="Activity_1yfwya2" name="Welcome to the pizza diagram">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser># We only do pizza over here.
|
|
|
|
If you don't like pizza, you're in the wrong place.</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0pze8h7</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1vgkwps</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_0uthtui" sourceRef="Activity_1rjhndn" targetRef="Event_0js86mf" />
|
|
<bpmn:userTask id="Activity_1rjhndn" 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_1vgkwps</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0uthtui</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_gpy73c8">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1qdcgfa_di" bpmnElement="Activity_1yfwya2">
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0js86mf_di" bpmnElement="Event_0js86mf">
|
|
<dc:Bounds x="562" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1eppx03_di" bpmnElement="Activity_1rjhndn">
|
|
<dc:Bounds x="420" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0pze8h7_di" bpmnElement="Flow_0pze8h7">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="270" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1vgkwps_di" bpmnElement="Flow_1vgkwps">
|
|
<di:waypoint x="370" y="177" />
|
|
<di:waypoint x="420" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0uthtui_di" bpmnElement="Flow_0uthtui">
|
|
<di:waypoint x="520" y="177" />
|
|
<di:waypoint x="562" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|