-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
conditional-flows
multiple flows no conditions
- Loading branch information
1 parent
4321e65
commit 7d2faec
Showing
7 changed files
with
163 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
test/rules/conditional-flows/invalid-fork-after-exclusive-gateway-no-conditions.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_047m0ul" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.16.2"> | ||
<bpmn:process id="Process" isExecutable="true"> | ||
<bpmn:exclusiveGateway id="Source"> | ||
<bpmn:outgoing>Flow_1</bpmn:outgoing> | ||
<bpmn:outgoing>Flow_2</bpmn:outgoing> | ||
</bpmn:exclusiveGateway> | ||
<bpmn:intermediateThrowEvent id="Target_1"> | ||
<bpmn:incoming>Flow_1</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_1" sourceRef="Source" targetRef="Target_1" /> | ||
<bpmn:intermediateThrowEvent id="Target_2"> | ||
<bpmn:incoming>Flow_2</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_2" sourceRef="Source" targetRef="Target_2" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process"> | ||
<bpmndi:BPMNShape id="Source_di" bpmnElement="Source" isMarkerVisible="true"> | ||
<dc:Bounds x="42" y="63" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Target_1_di" bpmnElement="Target_1"> | ||
<dc:Bounds x="142" y="70" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1"> | ||
<di:waypoint x="92" y="88" /> | ||
<di:waypoint x="142" y="88" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNShape id="Target_2_di" bpmnElement="Target_2"> | ||
<dc:Bounds x="142" y="180" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2"> | ||
<di:waypoint x="67" y="113" /> | ||
<di:waypoint x="67" y="198" /> | ||
<di:waypoint x="142" y="198" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
File renamed without changes.
41 changes: 41 additions & 0 deletions
41
test/rules/conditional-flows/valid-conditional-fork-default.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_047m0ul" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.16.2"> | ||
<bpmn:process id="Process" isExecutable="true"> | ||
<bpmn:exclusiveGateway id="Source" default="Flow_2"> | ||
<bpmn:outgoing>Flow_1</bpmn:outgoing> | ||
<bpmn:outgoing>Flow_2</bpmn:outgoing> | ||
</bpmn:exclusiveGateway> | ||
<bpmn:intermediateThrowEvent id="Target_1"> | ||
<bpmn:incoming>Flow_1</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_1" sourceRef="Source" targetRef="Target_1"> | ||
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${true}</bpmn:conditionExpression> | ||
</bpmn:sequenceFlow> | ||
<bpmn:intermediateThrowEvent id="Target_2"> | ||
<bpmn:incoming>Flow_2</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_2" sourceRef="Source" targetRef="Target_2" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process"> | ||
<bpmndi:BPMNShape id="Source_di" bpmnElement="Source" isMarkerVisible="true"> | ||
<dc:Bounds x="42" y="63" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Target_1_di" bpmnElement="Target_1"> | ||
<dc:Bounds x="142" y="70" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1"> | ||
<di:waypoint x="92" y="88" /> | ||
<di:waypoint x="142" y="88" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNShape id="Target_2_di" bpmnElement="Target_2"> | ||
<dc:Bounds x="142" y="180" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2"> | ||
<di:waypoint x="67" y="113" /> | ||
<di:waypoint x="67" y="198" /> | ||
<di:waypoint x="142" y="198" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
test/rules/conditional-flows/valid-split-after-parallel-gateway.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_047m0ul" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.16.2"> | ||
<bpmn:process id="Process" isExecutable="true"> | ||
<bpmn:parallelGateway id="Source"> | ||
<bpmn:outgoing>Flow_1</bpmn:outgoing> | ||
<bpmn:outgoing>Flow_2</bpmn:outgoing> | ||
</bpmn:parallelGateway> | ||
<bpmn:intermediateThrowEvent id="Target_1"> | ||
<bpmn:incoming>Flow_1</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_1" sourceRef="Source" targetRef="Target_1" /> | ||
<bpmn:intermediateThrowEvent id="Target_2"> | ||
<bpmn:incoming>Flow_2</bpmn:incoming> | ||
</bpmn:intermediateThrowEvent> | ||
<bpmn:sequenceFlow id="Flow_2" sourceRef="Source" targetRef="Target_2" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process"> | ||
<bpmndi:BPMNShape id="Source_di" bpmnElement="Source" isMarkerVisible="true"> | ||
<dc:Bounds x="42" y="63" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Target_1_di" bpmnElement="Target_1"> | ||
<dc:Bounds x="142" y="70" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1"> | ||
<di:waypoint x="92" y="88" /> | ||
<di:waypoint x="142" y="88" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNShape id="Target_2_di" bpmnElement="Target_2"> | ||
<dc:Bounds x="142" y="180" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2"> | ||
<di:waypoint x="67" y="113" /> | ||
<di:waypoint x="67" y="198" /> | ||
<di:waypoint x="142" y="198" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |