Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bpmn demo files #459

Merged
merged 1 commit into from
Oct 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions src/test/resources/payment.bpmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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:di="http://www.omg.org/spec/DD/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" id="Definitions_0b2eik0" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.2.0">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/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" id="Definitions_0b2eik0" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.3.0">
<bpmn:process id="payment" name="Payment" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_1ef15hz</bpmn:outgoing>
Expand All @@ -25,7 +25,7 @@
<bpmn:messageEventDefinition messageRef="Message_01tettd" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="SequenceFlow_1v57j9n" name="no" sourceRef="ExclusiveGateway_0w2do0f" targetRef="IntermediateCatchEvent_0pcwpf8">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">success == false</bpmn:conditionExpression>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=success = false</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="EndEvent_0pzgc9u">
<bpmn:incoming>SequenceFlow_1hh2j0a</bpmn:incoming>
Expand All @@ -35,7 +35,7 @@
</bpmn:process>
<bpmn:message id="Message_01tettd" name="Payment Details updated">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="paymentId" />
<zeebe:subscription correlationKey="=paymentId" />
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
Expand All @@ -46,36 +46,36 @@
<bpmndi:BPMNShape id="ServiceTask_1a32j7o_di" bpmnElement="ServiceTask_1a32j7o">
<dc:Bounds x="259" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1ef15hz_di" bpmnElement="SequenceFlow_1ef15hz">
<di:waypoint x="209" y="120" />
<di:waypoint x="259" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ExclusiveGateway_0w2do0f_di" bpmnElement="ExclusiveGateway_0w2do0f" isMarkerVisible="true">
<dc:Bounds x="409" y="95" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="411" y="77" width="46" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0beb4bw_di" bpmnElement="SequenceFlow_0beb4bw">
<di:waypoint x="359" y="120" />
<di:waypoint x="409" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="IntermediateCatchEvent_0pcwpf8_di" bpmnElement="IntermediateCatchEvent_0pcwpf8">
<dc:Bounds x="416" y="218" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="394" y="261" width="81" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_0pzgc9u_di" bpmnElement="EndEvent_0pzgc9u">
<dc:Bounds x="509" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1ef15hz_di" bpmnElement="SequenceFlow_1ef15hz">
<di:waypoint x="209" y="120" />
<di:waypoint x="259" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0beb4bw_di" bpmnElement="SequenceFlow_0beb4bw">
<di:waypoint x="359" y="120" />
<di:waypoint x="409" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1v57j9n_di" bpmnElement="SequenceFlow_1v57j9n">
<di:waypoint x="434" y="145" />
<di:waypoint x="434" y="218" />
<bpmndi:BPMNLabel>
<dc:Bounds x="443" y="179" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0pzgc9u_di" bpmnElement="EndEvent_0pzgc9u">
<dc:Bounds x="509" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1hh2j0a_di" bpmnElement="SequenceFlow_1hh2j0a">
<di:waypoint x="459" y="120" />
<di:waypoint x="509" y="120" />
Expand Down
30 changes: 15 additions & 15 deletions src/test/resources/ship-parcel.bpmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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:di="http://www.omg.org/spec/DD/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" id="Definitions_0wpxqvw" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.2.0">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/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" id="Definitions_0wpxqvw" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.3.0">
<bpmn:process id="ship-parcel" name="Ship Parcel" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Items fetched">
<bpmn:outgoing>SequenceFlow_0lcrb2l</bpmn:outgoing>
Expand Down Expand Up @@ -32,7 +32,7 @@
<bpmn:outgoing>SequenceFlow_1kauo34</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_02flt20" name="totalPrice &#62; 100" sourceRef="ExclusiveGateway_0zlm4ir" targetRef="ServiceTask_1gi4zqn">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">totalPrice &gt; 100</bpmn:conditionExpression>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=totalPrice &gt; 100</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="EndEvent_0elt8f8">
<bpmn:incoming>SequenceFlow_1redtxg</bpmn:incoming>
Expand All @@ -57,38 +57,38 @@
<dc:Bounds x="241" y="65" width="86" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ServiceTask_12sd1st_di" bpmnElement="ServiceTask_12sd1st">
<dc:Bounds x="418" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ServiceTask_1gi4zqn_di" bpmnElement="ServiceTask_1gi4zqn">
<dc:Bounds x="418" y="190" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_0elt8f8_di" bpmnElement="EndEvent_0elt8f8">
<dc:Bounds x="590" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1hfc9sb_di" bpmnElement="EndEvent_1hfc9sb">
<dc:Bounds x="590" y="212" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0lcrb2l_di" bpmnElement="SequenceFlow_0lcrb2l">
<di:waypoint x="209" y="120" />
<di:waypoint x="259" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_12sd1st_di" bpmnElement="ServiceTask_12sd1st">
<dc:Bounds x="418" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1f5vezv_di" bpmnElement="SequenceFlow_1f5vezv">
<di:waypoint x="309" y="120" />
<di:waypoint x="418" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_1gi4zqn_di" bpmnElement="ServiceTask_1gi4zqn">
<dc:Bounds x="418" y="190" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_02flt20_di" bpmnElement="SequenceFlow_02flt20">
<di:waypoint x="284" y="145" />
<di:waypoint x="284" y="230" />
<di:waypoint x="418" y="230" />
<bpmndi:BPMNLabel>
<dc:Bounds x="294" y="205" width="86" height="14" />
<dc:Bounds x="299" y="205" width="77" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0elt8f8_di" bpmnElement="EndEvent_0elt8f8">
<dc:Bounds x="590" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1redtxg_di" bpmnElement="SequenceFlow_1redtxg">
<di:waypoint x="518" y="120" />
<di:waypoint x="590" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_1hfc9sb_di" bpmnElement="EndEvent_1hfc9sb">
<dc:Bounds x="590" y="212" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1kauo34_di" bpmnElement="SequenceFlow_1kauo34">
<di:waypoint x="518" y="230" />
<di:waypoint x="590" y="230" />
Expand Down