User: dan@sartography.com clicked save for examples/2-in-depth/data-stores/key-value-data-store/key-value-data-store.bpmn

This commit is contained in:
sartography-automated-committer 2024-02-21 18:40:25 +00:00
parent f0adfd7bbd
commit c08a298349
1 changed files with 48 additions and 9 deletions

View File

@ -9,7 +9,7 @@
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_032ykz8</bpmn:incoming>
<bpmn:incoming>Flow_1akrpry</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_09lclt7" />
<bpmn:scriptTask id="Activity_0qpzdpu" name="Example manual task">
@ -261,7 +261,6 @@ You can also change the text you are reading here by updating the *Instructions*
}</bpmn:script>
</bpmn:scriptTask>
<bpmn:dataStoreReference id="DataStoreReference_17ombu1" name="movies" dataStoreRef="movies" type="kkv" />
<bpmn:sequenceFlow id="Flow_032ykz8" sourceRef="Activity_09lclt7" targetRef="EndEvent_1" />
<bpmn:scriptTask id="Activity_09lclt7">
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
<bpmn:outgoing>Flow_032ykz8</bpmn:outgoing>
@ -274,6 +273,29 @@ You can also change the text you are reading here by updating the *Instructions*
</bpmn:script>
</bpmn:scriptTask>
<bpmn:dataStoreReference id="DataStoreReference_1iq4dmk" name="movies" dataStoreRef="movies" type="kkv" />
<bpmn:sequenceFlow id="Flow_1akrpry" sourceRef="Activity_0ttl2d6" targetRef="EndEvent_1" />
<bpmn:sequenceFlow id="Flow_032ykz8" sourceRef="Activity_09lclt7" targetRef="Activity_0ttl2d6" />
<bpmn:scriptTask id="Activity_0ttl2d6">
<bpmn:incoming>Flow_032ykz8</bpmn:incoming>
<bpmn:outgoing>Flow_1akrpry</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_03afm2r">
<bpmn:targetRef>DataStoreReference_1iq4dmk</bpmn:targetRef>
</bpmn:dataOutputAssociation>
<bpmn:script># Add a single movie
movies = {
"Wes Craven": {
"Swamp Thing": [
{
"name": "Dr. Alec Hollard",
"actor": "Ray Wise",
"description": "whatever"
},
]
}
}</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmn:dataStore id="movies" name="KKVDataStore" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
@ -281,21 +303,30 @@ You can also change the text you are reading here by updating the *Instructions*
<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_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="652" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1yz3n3c_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_00jaglm_di" bpmnElement="Activity_09lclt7">
<dc:Bounds x="420" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_17ombu1_di" bpmnElement="DataStoreReference_17ombu1">
<dc:Bounds x="355" y="275" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="362" y="332" width="36" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_00jaglm_di" bpmnElement="Activity_09lclt7">
<dc:Bounds x="420" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="842" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_1iq4dmk_di" bpmnElement="DataStoreReference_1iq4dmk">
<dc:Bounds x="595" y="275" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="602" y="332" width="36" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fujp1k_di" bpmnElement="Activity_0ttl2d6">
<dc:Bounds x="570" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
@ -310,12 +341,20 @@ You can also change the text you are reading here by updating the *Instructions*
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_032ykz8_di" bpmnElement="Flow_032ykz8">
<di:waypoint x="520" y="177" />
<di:waypoint x="652" y="177" />
<di:waypoint x="570" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataInputAssociation_1ax1ize_di" bpmnElement="DataInputAssociation_1ax1ize">
<di:waypoint x="404" y="275" />
<di:waypoint x="460" y="217" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1akrpry_di" bpmnElement="Flow_1akrpry">
<di:waypoint x="670" y="177" />
<di:waypoint x="842" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_03afm2r_di" bpmnElement="DataOutputAssociation_03afm2r">
<di:waypoint x="618" y="217" />
<di:waypoint x="616" y="275" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>