User: usama@sartography.com added process model file playground/usama/essential-example/Escalation_Event.bpmn

This commit is contained in:
sartography-automated-committer 2024-02-15 08:16:12 +00:00
parent fea94cd1db
commit 8c281fa1cf
2 changed files with 132 additions and 2 deletions

View File

@ -0,0 +1,130 @@
<?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_s3f4tsf" name="Display" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0h096ue</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:subProcess id="Activity_1cneqjh">
<bpmn:incoming>Flow_0h096ue</bpmn:incoming>
<bpmn:startEvent id="Event_1o13l5k">
<bpmn:outgoing>Flow_193gydw</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_193gydw" sourceRef="Event_1o13l5k" targetRef="Activity_1elp72b" />
<bpmn:exclusiveGateway id="Gateway_0jcq1yd">
<bpmn:incoming>Flow_1kvpcj3</bpmn:incoming>
<bpmn:outgoing>Flow_0okn2rx</bpmn:outgoing>
<bpmn:outgoing>Flow_1a6mt0f</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1kvpcj3" sourceRef="Activity_1elp72b" targetRef="Gateway_0jcq1yd" />
<bpmn:endEvent id="Event_1awg2k3">
<bpmn:incoming>Flow_1f8lljz</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0okn2rx" sourceRef="Gateway_0jcq1yd" targetRef="Activity_0076isf" />
<bpmn:sequenceFlow id="Flow_1a6mt0f" sourceRef="Gateway_0jcq1yd" targetRef="Event_1trwx9o">
<bpmn:conditionExpression>int(quantity) &lt; 0</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="Activity_1elp72b" name="Enter Order Details">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="orderdetails-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="orderdetails-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_193gydw</bpmn:incoming>
<bpmn:outgoing>Flow_1kvpcj3</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1f8lljz" sourceRef="Activity_0076isf" targetRef="Event_1awg2k3" />
<bpmn:userTask id="Activity_0076isf" name="Process Order">
<bpmn:incoming>Flow_0okn2rx</bpmn:incoming>
<bpmn:outgoing>Flow_1f8lljz</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1trwx9o" name="Escalate Order">
<bpmn:incoming>Flow_1a6mt0f</bpmn:incoming>
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0w9bow9" escalationRef="Escalation_Throw_1" />
</bpmn:endEvent>
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_0h096ue" sourceRef="StartEvent_1" targetRef="Activity_1cneqjh" />
<bpmn:boundaryEvent id="Event_1xburk6" attachedToRef="Activity_1cneqjh">
<bpmn:outgoing>Flow_1w1ncrn</bpmn:outgoing>
<bpmn:escalationEventDefinition id="EscalationEventDefinition_08s7ev7" escalationRef="Escalation_Throw_1" />
</bpmn:boundaryEvent>
<bpmn:manualTask id="Activity_0x6cgr8" name="Display">
<bpmn:documentation>Add more quantity</bpmn:documentation>
<bpmn:incoming>Flow_1w1ncrn</bpmn:incoming>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_1w1ncrn" sourceRef="Event_1xburk6" targetRef="Activity_0x6cgr8" />
</bpmn:process>
<bpmn:escalation id="Escalation_Throw_1" name="Escalation_Throw_1" escalationCode="OrderExceedsThreshold" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_s3f4tsf">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-8" y="132" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_14pjlbm_di" bpmnElement="Activity_0x6cgr8">
<dc:Bounds x="430" y="380" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1cneqjh_di" bpmnElement="Activity_1cneqjh" isExpanded="true">
<dc:Bounds x="80" y="50" width="620" height="290" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1o13l5k_di" bpmnElement="Event_1o13l5k">
<dc:Bounds x="120" y="132" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0jcq1yd_di" bpmnElement="Gateway_0jcq1yd" isMarkerVisible="true">
<dc:Bounds x="365" y="125" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ks2clx_di" bpmnElement="Activity_1elp72b">
<dc:Bounds x="210" y="110" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ygwoxs_di" bpmnElement="Event_1trwx9o">
<dc:Bounds x="472" y="242" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="453" y="285" width="74" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1awg2k3_di" bpmnElement="Event_1awg2k3">
<dc:Bounds x="642" y="132" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="454" y="175" width="72" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zjbexe_di" bpmnElement="Activity_0076isf">
<dc:Bounds x="480" y="110" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_193gydw_di" bpmnElement="Flow_193gydw">
<di:waypoint x="156" y="150" />
<di:waypoint x="210" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1kvpcj3_di" bpmnElement="Flow_1kvpcj3">
<di:waypoint x="310" y="150" />
<di:waypoint x="365" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0okn2rx_di" bpmnElement="Flow_0okn2rx">
<di:waypoint x="415" y="150" />
<di:waypoint x="480" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1a6mt0f_di" bpmnElement="Flow_1a6mt0f">
<di:waypoint x="390" y="175" />
<di:waypoint x="390" y="260" />
<di:waypoint x="472" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1f8lljz_di" bpmnElement="Flow_1f8lljz">
<di:waypoint x="580" y="150" />
<di:waypoint x="642" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1200g31_di" bpmnElement="Event_1xburk6">
<dc:Bounds x="342" y="322" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0h096ue_di" bpmnElement="Flow_0h096ue">
<di:waypoint x="28" y="150" />
<di:waypoint x="80" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1w1ncrn_di" bpmnElement="Flow_1w1ncrn">
<di:waypoint x="360" y="358" />
<di:waypoint x="360" y="420" />
<di:waypoint x="430" y="420" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -4,6 +4,6 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "suspend",
"metadata_extraction_paths": null,
"primary_file_name": null,
"primary_process_id": null
"primary_file_name": "Escalation_Event.bpmn",
"primary_process_id": "Process_s3f4tsf"
}