mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 21:28:13 +00:00
66 lines
3.4 KiB
XML
66 lines
3.4 KiB
XML
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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:message id="Message_0ccgmcf" name="cancel">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messageVariable>cancel_message</spiffworkflow:messageVariable>
|
|
</bpmn:extensionElements>
|
|
</bpmn:message>
|
|
<bpmn:process id="Process_17itlj1">
|
|
<bpmn:startEvent id="Event_1h154wn">
|
|
<bpmn:outgoing>Flow_0uztvcl</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_0uztvcl" sourceRef="Event_1h154wn" targetRef="Activity_0cvfx9v" />
|
|
<bpmn:endEvent id="Event_0tva8pz">
|
|
<bpmn:incoming>Flow_1i3strz</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1i3strz" sourceRef="Activity_14pdcpl" targetRef="Event_0tva8pz" />
|
|
<bpmn:sequenceFlow id="Flow_1uu9ae4" sourceRef="Activity_0cvfx9v" targetRef="Activity_14pdcpl" />
|
|
<bpmn:scriptTask id="Activity_0cvfx9v" name="initialize">
|
|
<bpmn:incoming>Flow_0uztvcl</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1uu9ae4</bpmn:outgoing>
|
|
<bpmn:script>my_array = [1,2,3,4,5,6,7,8,9,10]</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
<bpmn:scriptTask id="Activity_14pdcpl" name="add 1">
|
|
<bpmn:incoming>Flow_1uu9ae4</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1i3strz</bpmn:outgoing>
|
|
<bpmn:multiInstanceLoopCharacteristics isSequential="true">
|
|
<bpmn:loopDataInputRef>my_array</bpmn:loopDataInputRef>
|
|
<bpmn:loopDataOutputRef>my_array2</bpmn:loopDataOutputRef>
|
|
<bpmn:inputDataItem id="x" name="x" />
|
|
<bpmn:outputDataItem id="x" name="x" />
|
|
</bpmn:multiInstanceLoopCharacteristics>
|
|
<bpmn:script>x = x + 1</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_17itlj1">
|
|
<bpmndi:BPMNShape id="Event_1h154wn_di" bpmnElement="Event_1h154wn">
|
|
<dc:Bounds x="92" y="192" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0tva8pz_di" bpmnElement="Event_0tva8pz">
|
|
<dc:Bounds x="462" y="192" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1uj2wtc_di" bpmnElement="Activity_0cvfx9v">
|
|
<dc:Bounds x="170" y="170" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1b59yvt_di" bpmnElement="Activity_14pdcpl">
|
|
<dc:Bounds x="310" y="170" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0uztvcl_di" bpmnElement="Flow_0uztvcl">
|
|
<di:waypoint x="128" y="210" />
|
|
<di:waypoint x="170" y="210" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1i3strz_di" bpmnElement="Flow_1i3strz">
|
|
<di:waypoint x="410" y="210" />
|
|
<di:waypoint x="462" y="210" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1uu9ae4_di" bpmnElement="Flow_1uu9ae4">
|
|
<di:waypoint x="270" y="210" />
|
|
<di:waypoint x="310" y="210" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|