1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?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:camunda="http://camunda.org/schema/1.0/bpmn"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn"
- exporter="Camunda Modeler" exporterVersion="1.3.2">
- <bpmn:process id="taskLoopProcess" isExecutable="true">
- <bpmn:startEvent id="StartEvent_1">
- <bpmn:outgoing>SequenceFlow_00cfpc8</bpmn:outgoing>
- </bpmn:startEvent>
- <bpmn:sequenceFlow id="SequenceFlow_00cfpc8" sourceRef="StartEvent_1" targetRef="recurring" />
- <bpmn:scriptTask id="recurring" name="Recurring" scriptFormat="JavaScript" camunda:resultVariable="">
- <bpmn:incoming>SequenceFlow_00cfpc8</bpmn:incoming>
- <bpmn:outgoing>SequenceFlow_0givraz</bpmn:outgoing>
- <bpmn:multiInstanceLoopCharacteristics camunda:collection="${this.environment.variables.handlers}" camunda:elementVariable="item">
- <bpmn:inputDataItem>this.environment.variables.handlers</bpmn:inputDataItem>
- <bpmn:loopCardinality xsi:type="bpmn:tFormalExpression">10</bpmn:loopCardinality>
- <bpmn:completionCondition xsi:type="bpmn:tFormalExpression">${this.environment.variables.count >=3}</bpmn:completionCondition>
- </bpmn:multiInstanceLoopCharacteristics>
- <bpmn:script><![CDATA[
- this.environment.variables.count++;
- next()]]></bpmn:script>
- </bpmn:scriptTask>
- <bpmn:endEvent id="EndEvent_16n25gf">
- <bpmn:incoming>SequenceFlow_0givraz</bpmn:incoming>
- </bpmn:endEvent>
- <bpmn:sequenceFlow id="SequenceFlow_0givraz" sourceRef="recurring" targetRef="EndEvent_16n25gf" />
- </bpmn:process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_1">
- <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="taskLoopProcess">
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
- <dc:Bounds x="173" y="102" width="36" height="36" />
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="SequenceFlow_00cfpc8_di" bpmnElement="SequenceFlow_00cfpc8">
- <di:waypoint xsi:type="dc:Point" x="209" y="120" />
- <di:waypoint xsi:type="dc:Point" x="288" y="120" />
- <bpmndi:BPMNLabel>
- <dc:Bounds x="203.5" y="95" width="90" height="20" />
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNShape id="ScriptTask_1rxtc3o_di" bpmnElement="recurring">
- <dc:Bounds x="288" y="80" width="100" height="80" />
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape id="EndEvent_16n25gf_di" bpmnElement="EndEvent_16n25gf">
- <dc:Bounds x="474" y="102" width="36" height="36" />
- <bpmndi:BPMNLabel>
- <dc:Bounds x="447" y="138" width="90" height="20" />
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="SequenceFlow_0givraz_di" bpmnElement="SequenceFlow_0givraz">
- <di:waypoint xsi:type="dc:Point" x="388" y="120" />
- <di:waypoint xsi:type="dc:Point" x="474" y="120" />
- <bpmndi:BPMNLabel>
- <dc:Bounds x="386" y="95" width="90" height="20" />
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </bpmn:definitions>
|