Added task to select a spreadsheet

This commit is contained in:
mike cullerton 2021-09-02 09:56:22 -04:00
parent 5f3968b582
commit f2741921cb
1 changed files with 48 additions and 16 deletions

View File

@ -1,14 +1,13 @@
<?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_e098f1d" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.5.0">
<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" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_e098f1d" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.5.0">
<bpmn:process id="Process_99c9791" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1iv94or</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_0xojxbt</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1iv94or" sourceRef="StartEvent_1" targetRef="Activity_1q248e0" />
<bpmn:scriptTask id="Activity_1q248e0" name="SS to DMN">
<bpmn:incoming>Flow_1iv94or</bpmn:incoming>
<bpmn:incoming>SequenceFlow_1iak9o7</bpmn:incoming>
<bpmn:outgoing>Flow_18sjqfa</bpmn:outgoing>
<bpmn:script>result = dmn_from_spreadsheet()</bpmn:script>
<bpmn:script>result = dmn_from_spreadsheet(spreadsheet)</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_18sjqfa" sourceRef="Activity_1q248e0" targetRef="Activity_0ypr34l" />
<bpmn:manualTask id="Activity_0ypr34l" name="Display Result">
@ -21,33 +20,66 @@
<bpmn:incoming>Flow_03xp3kp</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_03xp3kp" sourceRef="Activity_0ypr34l" targetRef="Event_0fcuwnj" />
<bpmn:sequenceFlow id="SequenceFlow_0xojxbt" sourceRef="StartEvent_1" targetRef="Task_UploadSS" />
<bpmn:userTask id="Task_UploadSS" name="Upload Spreadsheet" camunda:formKey="UploadSS">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="spreadsheet" label="Select Spreadsheet" type="file" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0xojxbt</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1yu4pun</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="SequenceFlow_1yu4pun" sourceRef="Task_UploadSS" targetRef="Task_0pojxtc" />
<bpmn:manualTask id="Task_0pojxtc" name="Display File Data">
<bpmn:documentation># Spreadsheet
{{ spreadsheet }}
</bpmn:documentation>
<bpmn:incoming>SequenceFlow_1yu4pun</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1iak9o7</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="SequenceFlow_1iak9o7" sourceRef="Task_0pojxtc" targetRef="Activity_1q248e0" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_99c9791">
<bpmndi:BPMNEdge id="Flow_03xp3kp_di" bpmnElement="Flow_03xp3kp">
<di:waypoint x="530" y="117" />
<di:waypoint x="592" y="117" />
<di:waypoint x="855" y="117" />
<di:waypoint x="917" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18sjqfa_di" bpmnElement="Flow_18sjqfa">
<di:waypoint x="370" y="117" />
<di:waypoint x="430" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1iv94or_di" bpmnElement="Flow_1iv94or">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
<di:waypoint x="695" y="117" />
<di:waypoint x="755" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_182oae9_di" bpmnElement="Activity_1q248e0">
<dc:Bounds x="270" y="77" width="100" height="80" />
<dc:Bounds x="595" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_19m9fdz_di" bpmnElement="Activity_0ypr34l">
<dc:Bounds x="430" y="77" width="100" height="80" />
<dc:Bounds x="755" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0fcuwnj_di" bpmnElement="Event_0fcuwnj">
<dc:Bounds x="592" y="99" width="36" height="36" />
<dc:Bounds x="917" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0xojxbt_di" bpmnElement="SequenceFlow_0xojxbt">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_16fdmob_di" bpmnElement="Task_UploadSS">
<dc:Bounds x="270" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1yu4pun_di" bpmnElement="SequenceFlow_1yu4pun">
<di:waypoint x="370" y="117" />
<di:waypoint x="430" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ManualTask_1frji7z_di" bpmnElement="Task_0pojxtc">
<dc:Bounds x="430" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1iak9o7_di" bpmnElement="SequenceFlow_1iak9o7">
<di:waypoint x="530" y="117" />
<di:waypoint x="595" y="117" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>