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

This commit is contained in:
sartography-automated-committer 2024-02-21 18:56:19 +00:00
parent 3e775d1fef
commit 798724cebf

View File

@ -12,20 +12,20 @@
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
<bpmn:dataStoreReference id="DataStoreReference_0ak5gko" name="Gatoraide Flavors" dataStoreRef="gatoraide_flavors" type="json" />
<bpmn:scriptTask id="Activity_0qpzdpu" name="Example manual task">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
* **Script Task** - write a short snippet of python code to update some data
* **User Task** - generate a form that collects information from a user
* **Service Task** - communicate with an external API to fetch or update some data.
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
<spiffworkflow:instructionsForEndUser />
</bpmn:extensionElements>
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:dataStoreReference id="DataStoreReference_0ak5gko" name="Gatoraide Flavors" dataStoreRef="gatoraide_flavors" type="json" />
<bpmn:property id="Property_17g0h45" name="__targetRef_placeholder" />
<bpmn:dataInputAssociation id="DataInputAssociation_1gjg5yh">
<bpmn:sourceRef>DataStoreReference_0ak5gko</bpmn:sourceRef>
<bpmn:targetRef>Property_17g0h45</bpmn:targetRef>
</bpmn:dataInputAssociation>
<bpmn:script>flaves = gatoraide_flavors</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmn:dataStore id="gatoraide_flavors" name="JSONFileDataStore" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
@ -36,16 +36,15 @@ You can also change the text you are reading here by updating the *Instructions*
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_0ak5gko_di" bpmnElement="DataStoreReference_0ak5gko">
<dc:Bounds x="295" y="265" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="288" y="322" width="65" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1jgnl7l_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" 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" />
@ -54,6 +53,10 @@ You can also change the text you are reading here by updating the *Instructions*
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataInputAssociation_1gjg5yh_di" bpmnElement="DataInputAssociation_1gjg5yh">
<di:waypoint x="320" y="265" />
<di:waypoint x="320" y="217" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>