User: kamorudeenridwan05@gmail.com added process model file playground/ridwan/order-delivered/Order Received.bpmn
This commit is contained in:
parent
6c07526c44
commit
ce981ff16d
|
@ -0,0 +1,85 @@
|
|||
<?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_0ddiwab">
|
||||
<bpmn:participant id="Participant_1lw5nsp" name="Order Received" processRef="Process_y0loevq" />
|
||||
<bpmn:correlationKey name="order">
|
||||
<bpmn:correlationPropertyRef>table_number</bpmn:correlationPropertyRef>
|
||||
</bpmn:correlationKey>
|
||||
</bpmn:collaboration>
|
||||
<bpmn:process id="Process_y0loevq" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0sk9etu</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0sk9etu" sourceRef="StartEvent_1" targetRef="Activity_03o68vj" />
|
||||
<bpmn:scriptTask id="Activity_03o68vj" name="Setup">
|
||||
<bpmn:incoming>Flow_0sk9etu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1k9zsnt</bpmn:outgoing>
|
||||
<bpmn:script>order = {
|
||||
"house_number" : 10,
|
||||
"product1" : "Extra Large Cloth",
|
||||
"product2" : "Size 11 Shoe"
|
||||
|
||||
}</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_1k9zsnt" sourceRef="Activity_03o68vj" targetRef="Activity_0zw1zef" />
|
||||
<bpmn:sendTask id="Activity_0zw1zef" name="Inform the courier about the order" messageRef="Message_0zmr3f2">
|
||||
<bpmn:incoming>Flow_1k9zsnt</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11zhuc3</bpmn:outgoing>
|
||||
</bpmn:sendTask>
|
||||
<bpmn:sequenceFlow id="Flow_11zhuc3" sourceRef="Activity_0zw1zef" targetRef="Event_16kssv8" />
|
||||
<bpmn:intermediateCatchEvent id="Event_16kssv8" messageRef="[object Object]">
|
||||
<bpmn:incoming>Flow_11zhuc3</bpmn:incoming>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_0q8zph7" messageRef="Message_00dyx97" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
</bpmn:process>
|
||||
<bpmn:correlationProperty id="table_number" name="table_number">
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_00dyx97">
|
||||
<bpmn:formalExpression>table_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_0zmr3f2">
|
||||
<bpmn:formalExpression>house_number</bpmn:formalExpression>
|
||||
</bpmn:correlationPropertyRetrievalExpression>
|
||||
</bpmn:correlationProperty>
|
||||
<bpmn:message id="Message_00dyx97" name="order_ready">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messageVariable>order</spiffworkflow:messageVariable>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmn:message id="Message_0zmr3f2" name="order_taken">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:messagePayload>order</spiffworkflow:messagePayload>
|
||||
</bpmn:extensionElements>
|
||||
</bpmn:message>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0ddiwab">
|
||||
<bpmndi:BPMNShape id="Participant_1lw5nsp_di" bpmnElement="Participant_1lw5nsp" isHorizontal="true">
|
||||
<dc:Bounds x="182" y="80" width="600" height="250" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="222" y="192" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_121w9a1_di" bpmnElement="Activity_03o68vj">
|
||||
<dc:Bounds x="310" y="170" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_10s4k0s_di" bpmnElement="Activity_0zw1zef">
|
||||
<dc:Bounds x="470" y="170" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_09z5gyn_di" bpmnElement="Event_16kssv8">
|
||||
<dc:Bounds x="632" y="192" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0sk9etu_di" bpmnElement="Flow_0sk9etu">
|
||||
<di:waypoint x="258" y="210" />
|
||||
<di:waypoint x="310" y="210" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1k9zsnt_di" bpmnElement="Flow_1k9zsnt">
|
||||
<di:waypoint x="410" y="210" />
|
||||
<di:waypoint x="470" y="210" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11zhuc3_di" bpmnElement="Flow_11zhuc3">
|
||||
<di:waypoint x="570" y="210" />
|
||||
<di:waypoint x="632" y="210" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -4,6 +4,6 @@
|
|||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": null,
|
||||
"primary_process_id": null
|
||||
"primary_file_name": "Order Received.bpmn",
|
||||
"primary_process_id": "Process_y0loevq"
|
||||
}
|
Loading…
Reference in New Issue