2023-11-28 22:14:50 +00:00

104 lines
5.0 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: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:collaboration id="Collaboration_15dchus">
<bpmn:participant id="Participant_1wrpour" processRef="Process_2rymexb" />
<bpmn:correlationKey name="dog">
<bpmn:correlationPropertyRef>name</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
</bpmn:collaboration>
<bpmn:process id="Process_2rymexb" isExecutable="true">
<bpmn:endEvent id="Event_0dudz6g">
<bpmn:incoming>Flow_0ffy9cx</bpmn:incoming>
</bpmn:endEvent>
<bpmn:scriptTask id="Activity_0v8297v" name="Set up data">
<bpmn:incoming>Flow_0vntati</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:sequenceFlow id="Flow_1d146lk" sourceRef="StartEvent_1" targetRef="Event_1cqpttf" />
<bpmn:sequenceFlow id="Flow_0ffy9cx" sourceRef="Activity_1m8d3p5" targetRef="Event_0dudz6g" />
<bpmn:sequenceFlow id="Flow_1jpydaz" sourceRef="Activity_0v8297v" targetRef="Activity_1m8d3p5" />
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1d146lk</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0vntati" sourceRef="Event_1cqpttf" targetRef="Activity_0v8297v" />
<bpmn:intermediateCatchEvent id="Event_1cqpttf" messageRef="[object Object]">
<bpmn:incoming>Flow_1d146lk</bpmn:incoming>
<bpmn:outgoing>Flow_0vntati</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_1kw35xi" messageRef="Message_018bfkw" />
</bpmn:intermediateCatchEvent>
</bpmn:process>
<bpmn:correlationProperty id="name" name="name">
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_018bfkw">
<bpmn:formalExpression>name</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
</bpmn:correlationProperty>
<bpmn:message id="Message_018bfkw" name="fetch">
<bpmn:extensionElements>
<spiffworkflow:messageVariable>fetch_result</spiffworkflow:messageVariable>
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_15dchus">
<bpmndi:BPMNShape id="Participant_1wrpour_di" bpmnElement="Participant_1wrpour" isHorizontal="true">
<dc:Bounds x="-150" y="-120" width="600" height="250" />
</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:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-108" y="2" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_08tq9s9_di" bpmnElement="Event_1cqpttf">
<dc:Bounds x="-38" y="2" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1d146lk_di" bpmnElement="Flow_1d146lk">
<di:waypoint x="-72" y="20" />
<di:waypoint x="-38" 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: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_0vntati_di" bpmnElement="Flow_0vntati">
<di:waypoint x="-2" y="20" />
<di:waypoint x="30" y="20" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>