2024-07-15 10:51:00 -04:00

58 lines
3.2 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: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_access_json_and_kkv_data_store_with_the_same_name_ze6cf2x" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0ck73bc</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0ck73bc" sourceRef="StartEvent_1" targetRef="Activity_0qmqi3l" />
<bpmn:endEvent id="Event_1np2aou">
<bpmn:incoming>Flow_1nzm3f2</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1nzm3f2" sourceRef="Activity_0qmqi3l" targetRef="Event_1np2aou" />
<bpmn:scriptTask id="Activity_0qmqi3l" name="Read from Data Store">
<bpmn:incoming>Flow_0ck73bc</bpmn:incoming>
<bpmn:outgoing>Flow_1nzm3f2</bpmn:outgoing>
<bpmn:property id="Property_1myjciw" name="__targetRef_placeholder" />
<bpmn:dataInputAssociation id="DataInputAssociation_088k6fu">
<bpmn:sourceRef>DataStoreReference_0y3gl3z</bpmn:sourceRef>
<bpmn:targetRef>Property_1myjciw</bpmn:targetRef>
</bpmn:dataInputAssociation>
<bpmn:script>empname = employees("001","name")</bpmn:script>
</bpmn:scriptTask>
<bpmn:dataStoreReference id="DataStoreReference_0y3gl3z" name="Employees" dataStoreRef="employees" type="json" />
</bpmn:process>
<bpmn:dataStore id="employees" name="JSONDataStore" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_access_json_and_kkv_data_store_with_the_same_name_ze6cf2x">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1np2aou_di" bpmnElement="Event_1np2aou">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1a6g680_di" bpmnElement="Activity_0qmqi3l">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_0y3gl3z_di" bpmnElement="DataStoreReference_0y3gl3z">
<dc:Bounds x="295" y="-35" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="293" y="-65" width="55" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0ck73bc_di" bpmnElement="Flow_0ck73bc">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1nzm3f2_di" bpmnElement="Flow_1nzm3f2">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataInputAssociation_088k6fu_di" bpmnElement="DataInputAssociation_088k6fu">
<di:waypoint x="320" y="15" />
<di:waypoint x="320" y="137" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>