sample-process-models/misc/acceptance-tests-group-one/acceptance-tests-model-1/process_model_one.bpmn

90 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ny7jp4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="process_model_one" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_10jwwqy</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_10jwwqy" sourceRef="StartEvent_1" targetRef="process_script" />
<bpmn:endEvent id="Event_1qb1u6a">
<bpmn:incoming>Flow_1hd6o66</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0htxke7" sourceRef="process_script" targetRef="Activity_0a21ntf" />
<bpmn:scriptTask id="process_script" name="My Script" scriptFormat="python">
<bpmn:incoming>Flow_10jwwqy</bpmn:incoming>
<bpmn:outgoing>Flow_0htxke7</bpmn:outgoing>
<bpmn:script>person = "Kevin"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1hd6o66" sourceRef="Activity_0a21ntf" targetRef="Event_1qb1u6a" />
<bpmn:businessRuleTask id="Activity_0a21ntf" name="is wonderful?">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>awesome_decision</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0htxke7</bpmn:incoming>
<bpmn:outgoing>Flow_1hd6o66</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:dataObjectReference id="DataObjectReference_1m5tt45" />
<bpmn:dataObjectReference id="DataObjectReference_13wfsgr" />
<bpmn:dataObjectReference id="DataObjectReference_1men5jr" />
<bpmn:dataObjectReference id="DataObjectReference_1clwjzc" />
<bpmn:dataObject id="data_object_1" />
<bpmn:dataObjectReference id="DataObjectReference_1kez4c8" dataObjectRef="data_object_1" />
<bpmn:dataObjectReference id="DataObjectReference_0tuei19" name="data_object_1" dataObjectRef="data_object_1" />
<bpmn:dataObjectReference id="DataObjectReference_0d758n2" name="data_object_1" dataObjectRef="data_object_1" />
<bpmn:dataObjectReference id="DataObjectReference_03ilhmx" name="data_object_1" dataObjectRef="data_object_1" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_model_one">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="152" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qb1u6a_di" bpmnElement="Event_1qb1u6a">
<dc:Bounds x="582" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_17ohe7r_di" bpmnElement="process_script">
<dc:Bounds x="240" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_06nka7s_di" bpmnElement="Activity_0a21ntf">
<dc:Bounds x="420" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_1kez4c8_di" bpmnElement="DataObjectReference_1kez4c8">
<dc:Bounds x="232" y="235" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="215" y="281" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_0tuei19_di" bpmnElement="DataObjectReference_0tuei19">
<dc:Bounds x="372" y="245" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="355" y="291" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_0d758n2_di" bpmnElement="DataObjectReference_0d758n2">
<dc:Bounds x="512" y="235" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="495" y="281" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_10jwwqy_di" bpmnElement="Flow_10jwwqy">
<di:waypoint x="188" y="120" />
<di:waypoint x="240" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0htxke7_di" bpmnElement="Flow_0htxke7">
<di:waypoint x="340" y="120" />
<di:waypoint x="420" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hd6o66_di" bpmnElement="Flow_1hd6o66">
<di:waypoint x="520" y="120" />
<di:waypoint x="582" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="DataObjectReference_03ilhmx_di" bpmnElement="DataObjectReference_03ilhmx">
<dc:Bounds x="392" y="325" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="375" y="378" width="70" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>