User: kevin@sartography.com added process model file examples/2-in-depth/2-5-loops/loop-back/loop-back.bpmn

This commit is contained in:
sartography-automated-committer 2023-09-21 02:07:27 +00:00
parent e849a819c3
commit 48d0d87c4d
2 changed files with 79 additions and 2 deletions

View File

@ -0,0 +1,77 @@
<?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: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_a6111aa" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1tehcsp</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1tehcsp" sourceRef="StartEvent_1" targetRef="Activity_17zgsx1" />
<bpmn:scriptTask id="Activity_17zgsx1" name="initialize a to 1">
<bpmn:incoming>Flow_1tehcsp</bpmn:incoming>
<bpmn:outgoing>Flow_1qa5rz5</bpmn:outgoing>
<bpmn:script>a = 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1qa5rz5" sourceRef="Activity_17zgsx1" targetRef="Activity_0hs028o" />
<bpmn:scriptTask id="Activity_0hs028o" name="increment a by 1">
<bpmn:incoming>Flow_1qa5rz5</bpmn:incoming>
<bpmn:incoming>Flow_0oa66pj</bpmn:incoming>
<bpmn:outgoing>Flow_0cfrt17</bpmn:outgoing>
<bpmn:script>a += 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="Gateway_0tt44zi">
<bpmn:incoming>Flow_0cfrt17</bpmn:incoming>
<bpmn:outgoing>Flow_1o0bh0b</bpmn:outgoing>
<bpmn:outgoing>Flow_0oa66pj</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0cfrt17" sourceRef="Activity_0hs028o" targetRef="Gateway_0tt44zi" />
<bpmn:endEvent id="Event_0uk8cv4">
<bpmn:incoming>Flow_1o0bh0b</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1o0bh0b" sourceRef="Gateway_0tt44zi" targetRef="Event_0uk8cv4" />
<bpmn:sequenceFlow id="Flow_0oa66pj" sourceRef="Gateway_0tt44zi" targetRef="Activity_0hs028o">
<bpmn:conditionExpression>a &lt; 3</bpmn:conditionExpression>
</bpmn:sequenceFlow>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_a6111aa">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-198" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_006q57c_di" bpmnElement="Activity_17zgsx1">
<dc:Bounds x="-110" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_06uy8dv_di" bpmnElement="Activity_0hs028o">
<dc:Bounds x="50" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0tt44zi_di" bpmnElement="Gateway_0tt44zi" isMarkerVisible="true">
<dc:Bounds x="215" y="115" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0uk8cv4_di" bpmnElement="Event_0uk8cv4">
<dc:Bounds x="332" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1tehcsp_di" bpmnElement="Flow_1tehcsp">
<di:waypoint x="-162" y="140" />
<di:waypoint x="-110" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qa5rz5_di" bpmnElement="Flow_1qa5rz5">
<di:waypoint x="-10" y="140" />
<di:waypoint x="50" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0cfrt17_di" bpmnElement="Flow_0cfrt17">
<di:waypoint x="150" y="140" />
<di:waypoint x="215" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1o0bh0b_di" bpmnElement="Flow_1o0bh0b">
<di:waypoint x="265" y="140" />
<di:waypoint x="332" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0oa66pj_di" bpmnElement="Flow_0oa66pj">
<di:waypoint x="240" y="165" />
<di:waypoint x="240" y="350" />
<di:waypoint x="100" y="350" />
<di:waypoint x="100" y="180" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -4,6 +4,6 @@
"exception_notification_addresses": [],
"fault_or_suspend_on_exception": "fault",
"metadata_extraction_paths": null,
"primary_file_name": null,
"primary_process_id": null
"primary_file_name": "loop-back.bpmn",
"primary_process_id": "Process_a6111aa"
}