Skip to content

Commit

Permalink
Compensation Commando (#5)
Browse files Browse the repository at this point in the history
* BPMN-Modelle

* add meta

* wip conversation

* asdas

* Modelle in schön

* dialogue completed

* CancelModel schön

* Fehler raus

* fix bpmn showing

* asdasd

* Update Group2.ts

FRage zum falschen Modell

* Ein bisschen mehr Didaktik

---------

Co-authored-by: Philipp Bergener <[email protected]>
Co-authored-by: Cedric Pumpe <[email protected]>
  • Loading branch information
3 people committed May 16, 2024
1 parent 20ce34a commit 9d41a29
Show file tree
Hide file tree
Showing 7 changed files with 1,444 additions and 45 deletions.
9 changes: 9 additions & 0 deletions interactive-bpmn-stories.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
210 changes: 210 additions & 0 deletions public/bpmn-stories/group2/Trip.bpmn
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
<?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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1cgusmt" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.23.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.5.0">
<bpmn:process id="Process_0ero3r3" isExecutable="true">
<bpmn:task id="Activity_0jvhpxu" name="Book Hotel">
<bpmn:incoming>Flow_02sm0pw</bpmn:incoming>
<bpmn:outgoing>Flow_05w1z0e</bpmn:outgoing>
</bpmn:task>
<bpmn:exclusiveGateway id="Gateway_1f9v4m4" name="International Trip?">
<bpmn:incoming>Flow_05w1z0e</bpmn:incoming>
<bpmn:outgoing>Flow_1ahkgri</bpmn:outgoing>
<bpmn:outgoing>Flow_057j4wi</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:task id="Activity_1l3auaf" name="Book Plane">
<bpmn:incoming>Flow_1ahkgri</bpmn:incoming>
<bpmn:outgoing>Flow_087hfgm</bpmn:outgoing>
</bpmn:task>
<bpmn:task id="Activity_0l48z1e" name="Book Train">
<bpmn:incoming>Flow_057j4wi</bpmn:incoming>
<bpmn:outgoing>Flow_0287ufb</bpmn:outgoing>
</bpmn:task>
<bpmn:exclusiveGateway id="Gateway_1g0571v">
<bpmn:incoming>Flow_087hfgm</bpmn:incoming>
<bpmn:incoming>Flow_0287ufb</bpmn:incoming>
<bpmn:outgoing>Flow_04u6par</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:startEvent id="StartEvent_1" name="Trip Planning Started">
<bpmn:outgoing>Flow_02sm0pw</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_02sm0pw" sourceRef="StartEvent_1" targetRef="Activity_0jvhpxu" />
<bpmn:sequenceFlow id="Flow_05w1z0e" sourceRef="Activity_0jvhpxu" targetRef="Gateway_1f9v4m4" />
<bpmn:sequenceFlow id="Flow_1ahkgri" name="Yes" sourceRef="Gateway_1f9v4m4" targetRef="Activity_1l3auaf">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=localTrip = False</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_057j4wi" name="No" sourceRef="Gateway_1f9v4m4" targetRef="Activity_0l48z1e">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=localTrip = True</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_087hfgm" sourceRef="Activity_1l3auaf" targetRef="Gateway_1g0571v" />
<bpmn:sequenceFlow id="Flow_0287ufb" sourceRef="Activity_0l48z1e" targetRef="Gateway_1g0571v" />
<bpmn:eventBasedGateway id="Gateway_0ahtyk6">
<bpmn:incoming>Flow_04u6par</bpmn:incoming>
<bpmn:outgoing>Flow_1ladj0u</bpmn:outgoing>
<bpmn:outgoing>Flow_06vlier</bpmn:outgoing>
</bpmn:eventBasedGateway>
<bpmn:sequenceFlow id="Flow_04u6par" sourceRef="Gateway_1g0571v" targetRef="Gateway_0ahtyk6" />
<bpmn:intermediateCatchEvent id="Event_0kh7vys" name="Waiting Time Over">
<bpmn:incoming>Flow_1ladj0u</bpmn:incoming>
<bpmn:outgoing>Flow_1n1gv8v</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0ydaq88">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P30D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_1ladj0u" sourceRef="Gateway_0ahtyk6" targetRef="Event_0kh7vys" />
<bpmn:task id="Activity_1s5j6xa" name="Travel">
<bpmn:incoming>Flow_1n1gv8v</bpmn:incoming>
<bpmn:outgoing>Flow_0kfvc5d</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_1n1gv8v" sourceRef="Event_0kh7vys" targetRef="Activity_1s5j6xa" />
<bpmn:endEvent id="Event_0cqvy0g" name="Trip Completed">
<bpmn:incoming>Flow_0kfvc5d</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0kfvc5d" sourceRef="Activity_1s5j6xa" targetRef="Event_0cqvy0g" />
<bpmn:intermediateCatchEvent id="Event_0znkiam" name="Cancelation Message Received">
<bpmn:incoming>Flow_06vlier</bpmn:incoming>
<bpmn:outgoing>Flow_0gkkp3z</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_1a6cmkg" messageRef="Message_3qe3ci9" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_06vlier" sourceRef="Gateway_0ahtyk6" targetRef="Event_0znkiam" />
<bpmn:task id="Activity_0pbg3zc" name="?">
<bpmn:incoming>Flow_0gkkp3z</bpmn:incoming>
<bpmn:outgoing>Flow_15wz1zl</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_0gkkp3z" sourceRef="Event_0znkiam" targetRef="Activity_0pbg3zc" />
<bpmn:endEvent id="Event_11w9hcr" name="Trip Canceled">
<bpmn:incoming>Flow_15wz1zl</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_15wz1zl" sourceRef="Activity_0pbg3zc" targetRef="Event_11w9hcr" />
</bpmn:process>
<bpmn:message id="Message_3qe3ci9" name="CancelMessage">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="=tripId" />
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0ero3r3">
<bpmndi:BPMNShape id="BPMNShape_07ors7o" bpmnElement="StartEvent_1">
<dc:Bounds x="159" y="102" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="145" y="145" width="65" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_11y6w9h" bpmnElement="Activity_0jvhpxu">
<dc:Bounds x="250" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_11mpos8" bpmnElement="Gateway_1f9v4m4" isMarkerVisible="true">
<dc:Bounds x="425" y="95" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="406" y="65" width="89" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_070wnmt" bpmnElement="Activity_1l3auaf">
<dc:Bounds x="530" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_06yb9zl" bpmnElement="Gateway_1g0571v" isMarkerVisible="true">
<dc:Bounds x="685" y="95" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0koqa0w" bpmnElement="Activity_0l48z1e">
<dc:Bounds x="530" y="260" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0robrsb_di" bpmnElement="Gateway_0ahtyk6">
<dc:Bounds x="825" y="95" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0kh7vys_di" bpmnElement="Event_0kh7vys">
<dc:Bounds x="932" y="102" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="918" y="145" width="64" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0znkiam_di" bpmnElement="Event_0znkiam">
<dc:Bounds x="932" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="921" y="255" width="59" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1s5j6xa_di" bpmnElement="Activity_1s5j6xa">
<dc:Bounds x="1050" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0cqvy0g_di" bpmnElement="Event_0cqvy0g">
<dc:Bounds x="1252" y="102" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1233" y="145" width="75" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0pbg3zc_di" bpmnElement="Activity_0pbg3zc">
<dc:Bounds x="1050" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_11w9hcr_di" bpmnElement="Event_11w9hcr">
<dc:Bounds x="1252" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1236" y="255" width="69" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_1fgtm0g" bpmnElement="Flow_02sm0pw">
<di:waypoint x="195" y="120" />
<di:waypoint x="250" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0dcc6rj" bpmnElement="Flow_05w1z0e">
<di:waypoint x="350" y="120" />
<di:waypoint x="425" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0c869hz" bpmnElement="Flow_1ahkgri">
<di:waypoint x="475" y="120" />
<di:waypoint x="530" y="120" />
<bpmndi:BPMNLabel>
<dc:Bounds x="494" y="102" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0aomt7y" bpmnElement="Flow_057j4wi">
<di:waypoint x="450" y="145" />
<di:waypoint x="450" y="300" />
<di:waypoint x="530" y="300" />
<bpmndi:BPMNLabel>
<dc:Bounds x="458" y="152" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_1ljvga8" bpmnElement="Flow_087hfgm">
<di:waypoint x="630" y="120" />
<di:waypoint x="685" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_1xxbmu4" bpmnElement="Flow_0287ufb">
<di:waypoint x="630" y="300" />
<di:waypoint x="710" y="300" />
<di:waypoint x="710" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04u6par_di" bpmnElement="Flow_04u6par">
<di:waypoint x="735" y="120" />
<di:waypoint x="825" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ladj0u_di" bpmnElement="Flow_1ladj0u">
<di:waypoint x="875" y="120" />
<di:waypoint x="932" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06vlier_di" bpmnElement="Flow_06vlier">
<di:waypoint x="850" y="145" />
<di:waypoint x="850" y="230" />
<di:waypoint x="932" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n1gv8v_di" bpmnElement="Flow_1n1gv8v">
<di:waypoint x="968" y="120" />
<di:waypoint x="1050" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0kfvc5d_di" bpmnElement="Flow_0kfvc5d">
<di:waypoint x="1150" y="120" />
<di:waypoint x="1252" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0gkkp3z_di" bpmnElement="Flow_0gkkp3z">
<di:waypoint x="968" y="230" />
<di:waypoint x="1050" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15wz1zl_di" bpmnElement="Flow_15wz1zl">
<di:waypoint x="1150" y="230" />
<di:waypoint x="1252" y="230" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Loading

0 comments on commit 9d41a29

Please sign in to comment.