User: alex@sartography.com clicked save for playground/alex-herron/irb-prototype/protocol-builder/add-edit-study-info/pb-create-new-study.bpmn

This commit is contained in:
sartography-automated-committer 2023-11-15 19:16:45 +00:00
parent 8d5e758fec
commit 363e5a19fb
1 changed files with 27 additions and 21 deletions

View File

@ -15,35 +15,41 @@
</bpmn:extensionElements>
<bpmn:outgoing>Flow_00iy6r1</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1pdstm8" sourceRef="Activity_0c4d03v" targetRef="Event_0u9samg" />
<bpmn:sequenceFlow id="Flow_00iy6r1" sourceRef="Activity_1r41bu8" targetRef="Activity_0ooloz9" />
<bpmn:scriptTask id="Activity_0ooloz9" name="Load Study Info">
<bpmn:incoming>Flow_00iy6r1</bpmn:incoming>
<bpmn:outgoing>Flow_079hzcc</bpmn:outgoing>
</bpmn:scriptTask>
<bpmn:scriptTask id="Activity_0c4d03v" name="Add New Study ID">
<bpmn:incoming>Flow_0861758</bpmn:incoming>
<bpmn:outgoing>Flow_1pdstm8</bpmn:outgoing>
</bpmn:scriptTask>
<bpmn:scriptTask id="Activity_0c4d03v" name="Add New Study ID" />
<bpmn:endEvent id="Event_0x3p5ha">
<bpmn:incoming>Flow_079hzcc</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_079hzcc" sourceRef="Activity_0ooloz9" targetRef="Event_0x3p5ha" />
<bpmn:dataStoreReference id="DataStore_StudyList" name="Study Basic Info" dataStoreRef="study_list_data_store" />
<bpmn:endEvent id="Event_0u9samg">
<bpmn:incoming>Flow_1pdstm8</bpmn:incoming>
<bpmn:incoming>Flow_08k0xip</bpmn:incoming>
</bpmn:endEvent>
<bpmn:scriptTask id="Activity_025ptp9" name="Get New Study ID">
<bpmn:incoming>Flow_129d891</bpmn:incoming>
<bpmn:outgoing>Flow_0861758</bpmn:outgoing>
<bpmn:outgoing>Flow_08k0xip</bpmn:outgoing>
<bpmn:property id="Property_07v1ywf" name="__targetRef_placeholder" />
<bpmn:dataInputAssociation id="DataInputAssociation_1mwsr1u">
<bpmn:sourceRef>DataStore_StudyList</bpmn:sourceRef>
<bpmn:targetRef>Property_07v1ywf</bpmn:targetRef>
</bpmn:dataInputAssociation>
<bpmn:script>new_id = create_unique_kkv_top_level_key("study_")</bpmn:script>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1lq19go">
<bpmn:targetRef>DataStore_StudyList</bpmn:targetRef>
</bpmn:dataOutputAssociation>
<bpmn:script># Get next top level kkv unique key
new_id = create_unique_kkv_top_level_key("study_")
# Get study number
study_num = new_id[6:]
# Update Data Store with new study
study_list_data_store = {"study": study_num}</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0861758" sourceRef="Activity_025ptp9" targetRef="Activity_0c4d03v" />
<bpmn:sequenceFlow id="Flow_08k0xip" sourceRef="Activity_025ptp9" targetRef="Event_0u9samg" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_l0w5666">
@ -67,22 +73,18 @@
<dc:Bounds x="-230" y="110" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_04iaujm_di" bpmnElement="DataStore_StudyList">
<dc:Bounds x="-15" y="275" width="50" height="50" />
<dc:Bounds x="-205" y="285" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-27" y="332" width="80" height="14" />
<dc:Bounds x="-217" y="342" width="80" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0u9samg_di" bpmnElement="Event_0u9samg">
<dc:Bounds x="-38" y="22" width="36" height="36" />
<dc:Bounds x="-198" y="12" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_129d891_di" bpmnElement="Flow_129d891">
<di:waypoint x="-282" y="150" />
<di:waypoint x="-230" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1pdstm8_di" bpmnElement="Flow_1pdstm8">
<di:waypoint x="-20" y="110" />
<di:waypoint x="-20" y="58" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00iy6r1_di" bpmnElement="Flow_00iy6r1">
<di:waypoint x="190" y="150" />
<di:waypoint x="250" y="150" />
@ -92,12 +94,16 @@
<di:waypoint x="412" y="150" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataInputAssociation_1mwsr1u_di" bpmnElement="DataInputAssociation_1mwsr1u">
<di:waypoint x="-15" y="278" />
<di:waypoint x="-130" y="175" />
<di:waypoint x="-190" y="285" />
<di:waypoint x="-184" y="190" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0861758_di" bpmnElement="Flow_0861758">
<di:waypoint x="-130" y="150" />
<di:waypoint x="-70" y="150" />
<bpmndi:BPMNEdge id="DataOutputAssociation_1lq19go_di" bpmnElement="DataOutputAssociation_1lq19go">
<di:waypoint x="-177" y="190" />
<di:waypoint x="-170" y="280" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08k0xip_di" bpmnElement="Flow_08k0xip">
<di:waypoint x="-180" y="110" />
<di:waypoint x="-180" y="48" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>