-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from aamirmousavi/main
add feature - Inclusive Gateway element
- Loading branch information
Showing
9 changed files
with
326 additions
and
1 deletion.
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
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
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
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
90 changes: 90 additions & 0 deletions
90
test-cases/inclusive-gateway-with-condition-and-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,90 @@ | ||
<?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_12fuprs" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="1.1.0"> | ||
<bpmn:process id="exclusive-gateway-with-condition-and-default" name="exclusive-gateway-with-condition-and-default" isExecutable="true"> | ||
<bpmn:startEvent id="StartEvent_1"> | ||
<bpmn:outgoing>Flow_1y8jegt</bpmn:outgoing> | ||
</bpmn:startEvent> | ||
<bpmn:sequenceFlow id="Flow_1y8jegt" sourceRef="StartEvent_1" targetRef="Gateway_01wr5g0" /> | ||
<bpmn:sequenceFlow id="price-gt-zero" name="price > 0" sourceRef="Gateway_01wr5g0" targetRef="task-a"> | ||
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">price > 0</bpmn:conditionExpression> | ||
</bpmn:sequenceFlow> | ||
<bpmn:serviceTask id="task-a" name="task-a"> | ||
<bpmn:extensionElements> | ||
<zeebe:taskDefinition type="task-a" /> | ||
</bpmn:extensionElements> | ||
<bpmn:incoming>price-gt-zero</bpmn:incoming> | ||
<bpmn:outgoing>Flow_1moyr7v</bpmn:outgoing> | ||
</bpmn:serviceTask> | ||
<bpmn:sequenceFlow id="default" name="default" sourceRef="Gateway_01wr5g0" targetRef="task-b" /> | ||
<bpmn:serviceTask id="task-b" name="task-b"> | ||
<bpmn:extensionElements> | ||
<zeebe:taskDefinition type="task-b" /> | ||
</bpmn:extensionElements> | ||
<bpmn:incoming>default</bpmn:incoming> | ||
<bpmn:outgoing>Flow_1dekydz</bpmn:outgoing> | ||
</bpmn:serviceTask> | ||
<bpmn:endEvent id="Event_196zxhe"> | ||
<bpmn:incoming>Flow_1dekydz</bpmn:incoming> | ||
</bpmn:endEvent> | ||
<bpmn:sequenceFlow id="Flow_1dekydz" sourceRef="task-b" targetRef="Event_196zxhe" /> | ||
<bpmn:endEvent id="Event_1g3ipua"> | ||
<bpmn:incoming>Flow_1moyr7v</bpmn:incoming> | ||
</bpmn:endEvent> | ||
<bpmn:sequenceFlow id="Flow_1moyr7v" sourceRef="task-a" targetRef="Event_1g3ipua" /> | ||
<bpmn:inclusiveGateway id="Gateway_01wr5g0"> | ||
<bpmn:incoming>Flow_1y8jegt</bpmn:incoming> | ||
<bpmn:outgoing>price-gt-zero</bpmn:outgoing> | ||
<bpmn:outgoing>default</bpmn:outgoing> | ||
</bpmn:inclusiveGateway> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="exclusive-gateway-with-condition-and-default"> | ||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> | ||
<dc:Bounds x="179" y="152" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Activity_1y23oc8_di" bpmnElement="task-a"> | ||
<dc:Bounds x="360" y="40" width="100" height="80" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Activity_1wgex28_di" bpmnElement="task-b"> | ||
<dc:Bounds x="360" y="200" width="100" height="80" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Event_196zxhe_di" bpmnElement="Event_196zxhe"> | ||
<dc:Bounds x="512" y="222" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Event_1g3ipua_di" bpmnElement="Event_1g3ipua"> | ||
<dc:Bounds x="512" y="62" width="36" height="36" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Gateway_0nmf0kq_di" bpmnElement="Gateway_01wr5g0"> | ||
<dc:Bounds x="285" y="145" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_1y8jegt_di" bpmnElement="Flow_1y8jegt"> | ||
<di:waypoint x="215" y="170" /> | ||
<di:waypoint x="285" y="170" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_0gf8oc6_di" bpmnElement="price-gt-zero"> | ||
<di:waypoint x="310" y="145" /> | ||
<di:waypoint x="310" y="80" /> | ||
<di:waypoint x="360" y="80" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="305" y="110" width="43" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_1cjigq1_di" bpmnElement="default"> | ||
<di:waypoint x="310" y="195" /> | ||
<di:waypoint x="310" y="240" /> | ||
<di:waypoint x="360" y="240" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="310" y="215" width="34" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_1dekydz_di" bpmnElement="Flow_1dekydz"> | ||
<di:waypoint x="460" y="240" /> | ||
<di:waypoint x="512" y="240" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_1moyr7v_di" bpmnElement="Flow_1moyr7v"> | ||
<di:waypoint x="460" y="80" /> | ||
<di:waypoint x="512" y="80" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
Oops, something went wrong.