User: admin@spiffworkflow.org added process model file playground/dan/example/fruits.bpmn
This commit is contained in:
parent
1ed71ae300
commit
1e383678eb
|
@ -0,0 +1,71 @@
|
|||
<?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_2rymexb" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1d146lk</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1d146lk" sourceRef="StartEvent_1" targetRef="Activity_0v8297v" />
|
||||
<bpmn:sequenceFlow id="Flow_1jpydaz" sourceRef="Activity_0v8297v" targetRef="Activity_1m8d3p5" />
|
||||
<bpmn:endEvent id="Event_0dudz6g">
|
||||
<bpmn:incoming>Flow_0ffy9cx</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0ffy9cx" sourceRef="Activity_1m8d3p5" targetRef="Event_0dudz6g" />
|
||||
<bpmn:scriptTask id="Activity_0v8297v" name="Set up data">
|
||||
<bpmn:incoming>Flow_1d146lk</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1jpydaz</bpmn:outgoing>
|
||||
<bpmn:script>fruits = [
|
||||
{
|
||||
"value": "apples",
|
||||
"label": "Apples"
|
||||
},
|
||||
{
|
||||
"value": "oranges",
|
||||
"label": "Oranges"
|
||||
},
|
||||
{
|
||||
"value": "bananas",
|
||||
"label": "Bananas"
|
||||
}
|
||||
]
|
||||
</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:userTask id="Activity_1m8d3p5" name="show form">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="test-schema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="test-uischema.json" />
|
||||
</spiffworkflow:properties>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1jpydaz</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ffy9cx</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_2rymexb">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-58" y="2" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0dudz6g_di" bpmnElement="Event_0dudz6g">
|
||||
<dc:Bounds x="352" y="2" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_194r76u_di" bpmnElement="Activity_0v8297v">
|
||||
<dc:Bounds x="30" y="-20" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1kclcp4_di" bpmnElement="Activity_1m8d3p5">
|
||||
<dc:Bounds x="190" y="-20" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1d146lk_di" bpmnElement="Flow_1d146lk">
|
||||
<di:waypoint x="-22" y="20" />
|
||||
<di:waypoint x="30" y="20" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1jpydaz_di" bpmnElement="Flow_1jpydaz">
|
||||
<di:waypoint x="130" y="20" />
|
||||
<di:waypoint x="190" y="20" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0ffy9cx_di" bpmnElement="Flow_0ffy9cx">
|
||||
<di:waypoint x="290" y="20" />
|
||||
<di:waypoint x="352" y="20" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
|
@ -4,6 +4,6 @@
|
|||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": null,
|
||||
"primary_process_id": null
|
||||
"primary_file_name": "fruits.bpmn",
|
||||
"primary_process_id": "Process_2rymexb"
|
||||
}
|
Loading…
Reference in New Issue