sample-process-models/test/enum-list/Enumeration List.bpmn

80 lines
3.5 KiB
XML

<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Proccess_7siydvb" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1e1ms0j</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1e1ms0j" sourceRef="StartEvent_1" targetRef="Activity_0xxin8h" />
<bpmn:sequenceFlow id="Flow_1cg5oba" sourceRef="Activity_0xxin8h" targetRef="Activity_1ro1gcf" />
<bpmn:endEvent id="Event_0df6n04">
<bpmn:incoming>Flow_1m989hc</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1m989hc" sourceRef="Activity_1ro1gcf" targetRef="Event_0df6n04" />
<bpmn:scriptTask id="Activity_0xxin8h" name="Set Enumeration List">
<bpmn:incoming>Flow_1e1ms0j</bpmn:incoming>
<bpmn:outgoing>Flow_1cg5oba</bpmn:outgoing>
<bpmn:script>enumerations_list = [
{
"label": "Australian Dollar (AUD)",
"value": "AUD"
},
{
"label": "Canadian Dollar (CAD)",
"value": "CAD"
},
{
"label": "Pound sterling (GBP)",
"value": "GBP"
},
{
"label": "Singapore Dollar (SGD)",
"value": "SGD"
},
{
"label": "US Dollar (USD)",
"value": "USD"
}
]</bpmn:script>
</bpmn:scriptTask>
<bpmn:userTask id="Activity_1ro1gcf" name="Display Enumeration List">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="Enumeration List.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1cg5oba</bpmn:incoming>
<bpmn:outgoing>Flow_1m989hc</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_7siydvb">
<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_0df6n04_di" bpmnElement="Event_0df6n04">
<dc:Bounds x="532" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0y0dryd_di" bpmnElement="Activity_0xxin8h">
<dc:Bounds x="250" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1smh1pc_di" bpmnElement="Activity_1ro1gcf">
<dc:Bounds x="390" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1e1ms0j_di" bpmnElement="Flow_1e1ms0j">
<di:waypoint x="215" y="177" />
<di:waypoint x="250" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cg5oba_di" bpmnElement="Flow_1cg5oba">
<di:waypoint x="350" y="177" />
<di:waypoint x="390" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1m989hc_di" bpmnElement="Flow_1m989hc">
<di:waypoint x="490" y="177" />
<di:waypoint x="532" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>