63 lines
3.0 KiB
Plaintext
Raw Normal View History

2024-07-15 10:51:00 -04: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">
<bpmn:process id="Process_71tqz8g" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1ap84wm</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1ap84wm" sourceRef="StartEvent_1" targetRef="Activity_12reqgc" />
<bpmn:userTask id="Activity_12reqgc" name="User Task with a Dropdown List">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="test-dropdown-list-1-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="test-dropdown-list-1-uischema.json" />
</spiffworkflow:properties>
<spiffworkflow:preScript>fruits = [
{
"value": "apples",
"label": "Apples"
},
{
"value": "oranges",
"label": "Oranges"
},
{
"value": "bananas",
"label": "Bananas"
}
]</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ap84wm</bpmn:incoming>
<bpmn:outgoing>Flow_19h816s</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1dpd8xh">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>The process instance completed successfully. Favorite Fruit {{favoriteFruit}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_19h816s</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_19h816s" sourceRef="Activity_12reqgc" targetRef="Event_1dpd8xh" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_71tqz8g">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xz0b1d_di" bpmnElement="Activity_12reqgc">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1dpd8xh_di" bpmnElement="Event_1dpd8xh">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1ap84wm_di" bpmnElement="Flow_1ap84wm">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_19h816s_di" bpmnElement="Flow_19h816s">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>