Dan Funk 7194d7d374 Standardizing the script tasks that can be executed on the server, adding tons of error messages for when things go wrong. All scripts must exist in side of the crc/scripts directory.
Adding a new script that script tasks can use to add in data about the study.

Moving all the test workflow specifications out of the main load.

fixing a pile of tests so they can find workflow specs that are now moved into the test directory.
2020-03-03 13:52:45 -05:00

246 lines
13 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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_6226989" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_68a66aa" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_0mp77q9</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="SequenceFlow_0mp77q9" sourceRef="StartEvent_1" targetRef="ExclusiveGateway_15a1wma" />
<bpmn:parallelGateway id="ExclusiveGateway_15a1wma">
<bpmn:incoming>SequenceFlow_0mp77q9</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0pfke5z</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_1kar3r1</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_0vtu9qd</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_0jcomqh</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="SequenceFlow_0pfke5z" sourceRef="ExclusiveGateway_15a1wma" targetRef="Task_1sxp42p" />
<bpmn:sequenceFlow id="SequenceFlow_1kar3r1" sourceRef="ExclusiveGateway_15a1wma" targetRef="Task_1dbfcq0" />
<bpmn:sequenceFlow id="SequenceFlow_0vtu9qd" sourceRef="ExclusiveGateway_15a1wma" targetRef="Task_1q3s7gs" />
<bpmn:sequenceFlow id="SequenceFlow_0jcomqh" sourceRef="ExclusiveGateway_15a1wma" targetRef="Task_0oxu2ne" />
<bpmn:sequenceFlow id="SequenceFlow_1hsb3c5" sourceRef="Task_1sxp42p" targetRef="Task_1o1we8w" />
<bpmn:sequenceFlow id="SequenceFlow_18jx43l" sourceRef="Task_1dbfcq0" targetRef="Task_19r6r37" />
<bpmn:sequenceFlow id="SequenceFlow_0rcgayc" sourceRef="Task_1q3s7gs" targetRef="Task_0n6vigs" />
<bpmn:sequenceFlow id="SequenceFlow_18z9ub0" sourceRef="Task_0oxu2ne" targetRef="Task_03u4wg2" />
<bpmn:sequenceFlow id="SequenceFlow_0ogto9b" sourceRef="Task_03u4wg2" targetRef="ExclusiveGateway_0jsb2sc" />
<bpmn:parallelGateway id="ExclusiveGateway_0jsb2sc">
<bpmn:incoming>SequenceFlow_0ogto9b</bpmn:incoming>
<bpmn:incoming>SequenceFlow_0d3e4fj</bpmn:incoming>
<bpmn:incoming>SequenceFlow_0n7ums4</bpmn:incoming>
<bpmn:incoming>SequenceFlow_0hftq9w</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_06rqrvw</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="SequenceFlow_0d3e4fj" sourceRef="Task_0n6vigs" targetRef="ExclusiveGateway_0jsb2sc" />
<bpmn:sequenceFlow id="SequenceFlow_0n7ums4" sourceRef="Task_19r6r37" targetRef="ExclusiveGateway_0jsb2sc" />
<bpmn:sequenceFlow id="SequenceFlow_0hftq9w" sourceRef="Task_1o1we8w" targetRef="ExclusiveGateway_0jsb2sc" />
<bpmn:endEvent id="EndEvent_0alhi16">
<bpmn:incoming>SequenceFlow_1y89ho1</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_06rqrvw" sourceRef="ExclusiveGateway_0jsb2sc" targetRef="Task_0c7seuo" />
<bpmn:userTask id="Task_1sxp42p" name="Do the dishes" camunda:formKey="form_a_1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_1ojqdk5" label="How big a mess is your kitchen?" type="enum">
<camunda:value id="Value_0ehrqjb" name="Perfectly clean!" />
<camunda:value id="Value_04hjtaa" name="Not too bad." />
<camunda:value id="Value_2fb98di" name="We&#39;re gonna be here a while." />
<camunda:value id="Value_0l52r92" name="I&#39;ve got a bad feeling about this." />
<camunda:value id="Value_3fpalk7" name="Run away! Run away!" />
</camunda:formField>
<camunda:formField id="FormField_3vtabe9" label="Files" type="files" />
<camunda:formField id="FormField_0eg7ror" label="One file" type="file" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0pfke5z</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1hsb3c5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_1dbfcq0" name="Take out the trash" camunda:formKey="form_b_1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_331jajn" label="Is tomorrow trash day?" type="boolean" />
<camunda:formField id="FormField_0b2vddh" label="How many trash cans are there?" type="long" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1kar3r1</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_18jx43l</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_1q3s7gs" name="Make the coffee" camunda:formKey="form_c_1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_1kj5msi" label="How many cups of coffee do you want to make?" type="long" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0vtu9qd</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0rcgayc</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_0oxu2ne" name="Do the monster mash" camunda:formKey="form_d_1">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_2c0nbbu" label="What kind of monster?" type="enum">
<camunda:value id="Value_17btpjh" name="Purple People Eater" />
<camunda:value id="Value_1r00nte" name="Dr. Frankenfurter" />
<camunda:value id="Value_3crfv5j" name="Addams Family" />
</camunda:formField>
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0jcomqh</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_18z9ub0</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_1o1we8w" name="Dishes" camunda:formKey="form_a_2">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_3479k9o" label="Finished yet?" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1hsb3c5</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0hftq9w</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_19r6r37" name="Trash" camunda:formKey="form_b_2">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_3uiple6" label="Finished yet?" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_18jx43l</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0n7ums4</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_0n6vigs" name="Coffee" camunda:formKey="form_c_2">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_0jctp35" label="Finished yet?" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0rcgayc</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0d3e4fj</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_03u4wg2" name="Mash" camunda:formKey="form_d_2">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_16eseth" label="Finished yet?" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_18z9ub0</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0ogto9b</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="SequenceFlow_1y89ho1" sourceRef="Task_0c7seuo" targetRef="EndEvent_0alhi16" />
<bpmn:userTask id="Task_0c7seuo" name="Time warp" camunda:formKey="last_form">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_159qrqu" label="Do the time warp again?" type="boolean" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_06rqrvw</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1y89ho1</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_68a66aa">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="113" y="317" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0mp77q9_di" bpmnElement="SequenceFlow_0mp77q9">
<di:waypoint x="149" y="335" />
<di:waypoint x="215" y="335" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ParallelGateway_1ai1k1n_di" bpmnElement="ExclusiveGateway_15a1wma">
<dc:Bounds x="215" y="310" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0pfke5z_di" bpmnElement="SequenceFlow_0pfke5z">
<di:waypoint x="240" y="310" />
<di:waypoint x="240" y="177" />
<di:waypoint x="365" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1kar3r1_di" bpmnElement="SequenceFlow_1kar3r1">
<di:waypoint x="240" y="310" />
<di:waypoint x="240" y="287" />
<di:waypoint x="365" y="287" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0vtu9qd_di" bpmnElement="SequenceFlow_0vtu9qd">
<di:waypoint x="240" y="360" />
<di:waypoint x="240" y="397" />
<di:waypoint x="365" y="397" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0jcomqh_di" bpmnElement="SequenceFlow_0jcomqh">
<di:waypoint x="240" y="360" />
<di:waypoint x="240" y="507" />
<di:waypoint x="365" y="507" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1hsb3c5_di" bpmnElement="SequenceFlow_1hsb3c5">
<di:waypoint x="465" y="177" />
<di:waypoint x="515" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_18jx43l_di" bpmnElement="SequenceFlow_18jx43l">
<di:waypoint x="465" y="287" />
<di:waypoint x="515" y="287" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0rcgayc_di" bpmnElement="SequenceFlow_0rcgayc">
<di:waypoint x="465" y="397" />
<di:waypoint x="515" y="397" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_18z9ub0_di" bpmnElement="SequenceFlow_18z9ub0">
<di:waypoint x="465" y="507" />
<di:waypoint x="515" y="507" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0ogto9b_di" bpmnElement="SequenceFlow_0ogto9b">
<di:waypoint x="615" y="507" />
<di:waypoint x="783" y="507" />
<di:waypoint x="783" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ParallelGateway_0eky38j_di" bpmnElement="ExclusiveGateway_0jsb2sc">
<dc:Bounds x="758" y="310" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0d3e4fj_di" bpmnElement="SequenceFlow_0d3e4fj">
<di:waypoint x="615" y="397" />
<di:waypoint x="783" y="397" />
<di:waypoint x="783" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0n7ums4_di" bpmnElement="SequenceFlow_0n7ums4">
<di:waypoint x="615" y="287" />
<di:waypoint x="783" y="287" />
<di:waypoint x="783" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0hftq9w_di" bpmnElement="SequenceFlow_0hftq9w">
<di:waypoint x="615" y="177" />
<di:waypoint x="783" y="177" />
<di:waypoint x="783" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0alhi16_di" bpmnElement="EndEvent_0alhi16">
<dc:Bounds x="1091" y="317" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_06rqrvw_di" bpmnElement="SequenceFlow_06rqrvw">
<di:waypoint x="808" y="335" />
<di:waypoint x="898" y="335" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_0hppz22_di" bpmnElement="Task_1sxp42p">
<dc:Bounds x="365" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_0z2byzo_di" bpmnElement="Task_1dbfcq0">
<dc:Bounds x="365" y="247" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1ess3at_di" bpmnElement="Task_1q3s7gs">
<dc:Bounds x="365" y="357" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1n3m591_di" bpmnElement="Task_0oxu2ne">
<dc:Bounds x="365" y="467" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_074rzrc_di" bpmnElement="Task_1o1we8w">
<dc:Bounds x="515" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_0o8r3nl_di" bpmnElement="Task_19r6r37">
<dc:Bounds x="515" y="247" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_0qwoqgh_di" bpmnElement="Task_0n6vigs">
<dc:Bounds x="515" y="357" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="UserTask_1rvpblb_di" bpmnElement="Task_03u4wg2">
<dc:Bounds x="515" y="467" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1y89ho1_di" bpmnElement="SequenceFlow_1y89ho1">
<di:waypoint x="998" y="335" />
<di:waypoint x="1091" y="335" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_0v7afjc_di" bpmnElement="Task_0c7seuo">
<dc:Bounds x="898" y="295" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>