2023-06-26 20:54:17 +00:00
|
|
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmn:process id="todo_list_process" isExecutable="true">
|
2023-06-26 20:54:17 +00:00
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_1ib2y93</bpmn:outgoing>
|
|
|
|
</bpmn:startEvent>
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1ib2y93" sourceRef="StartEvent_1" targetRef="set_up_default_todo_items" />
|
2023-06-26 20:54:17 +00:00
|
|
|
<bpmn:endEvent id="Event_0ctebzc">
|
|
|
|
<bpmn:incoming>Flow_061r409</bpmn:incoming>
|
|
|
|
</bpmn:endEvent>
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_061r409" sourceRef="manage_todo_list" targetRef="Event_0ctebzc" />
|
|
|
|
<bpmn:userTask id="manage_todo_list" name="Manage Todo List">
|
2023-06-26 20:54:17 +00:00
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:properties>
|
|
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="todolist_schema.json" />
|
2023-06-26 20:59:24 +00:00
|
|
|
<spiffworkflow:property name="formUiSchemaFilename" value="todolist_uischema.json" />
|
2023-06-26 20:54:17 +00:00
|
|
|
</spiffworkflow:properties>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_1cg97dk</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_061r409</bpmn:outgoing>
|
|
|
|
</bpmn:userTask>
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1cg97dk" sourceRef="set_up_default_todo_items" targetRef="manage_todo_list" />
|
|
|
|
<bpmn:scriptTask id="set_up_default_todo_items" name="Set Up Default Todo Items">
|
2023-06-26 20:54:17 +00:00
|
|
|
<bpmn:incoming>Flow_1ib2y93</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_1cg97dk</bpmn:outgoing>
|
|
|
|
<bpmn:script>todoList = [
|
|
|
|
{
|
|
|
|
"todoTitle": "Milk",
|
|
|
|
"isComplete": False
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"todoTitle": "Eggs",
|
|
|
|
"isComplete": False
|
|
|
|
}
|
|
|
|
]</bpmn:script>
|
|
|
|
</bpmn:scriptTask>
|
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="todo_list_process">
|
2023-06-26 20:54:17 +00:00
|
|
|
<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_0ctebzc_di" bpmnElement="Event_0ctebzc">
|
|
|
|
<dc:Bounds x="542" y="159" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_1hm6l6g_di" bpmnElement="manage_todo_list">
|
2023-06-26 20:54:17 +00:00
|
|
|
<dc:Bounds x="400" y="137" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2023-06-26 21:20:11 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_0h8wobo_di" bpmnElement="set_up_default_todo_items">
|
2023-06-26 20:54:17 +00:00
|
|
|
<dc:Bounds x="250" y="137" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1ib2y93_di" bpmnElement="Flow_1ib2y93">
|
|
|
|
<di:waypoint x="215" y="177" />
|
|
|
|
<di:waypoint x="250" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_061r409_di" bpmnElement="Flow_061r409">
|
|
|
|
<di:waypoint x="500" y="177" />
|
|
|
|
<di:waypoint x="542" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1cg97dk_di" bpmnElement="Flow_1cg97dk">
|
|
|
|
<di:waypoint x="350" y="177" />
|
|
|
|
<di:waypoint x="400" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|