spiffworkflow-backend/tests/data/error/error.bpmn

40 lines
2.1 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" id="Definitions_1br6ijc" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.2.0">
<bpmn:process id="Process_Error" name="Error Process" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_094epta</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_094epta" sourceRef="StartEvent_1" targetRef="Activity_CauseError" />
<bpmn:endEvent id="Event_1l2a37w">
<bpmn:incoming>Flow_1qfek48</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1qfek48" sourceRef="Activity_CauseError" targetRef="Event_1l2a37w" />
<bpmn:scriptTask id="Activity_CauseError" name="Cause Error">
<bpmn:incoming>Flow_094epta</bpmn:incoming>
<bpmn:outgoing>Flow_1qfek48</bpmn:outgoing>
<bpmn:script>'a' + 1</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_Error">
<bpmndi:BPMNEdge id="Flow_094epta_di" bpmnElement="Flow_094epta">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qfek48_di" bpmnElement="Flow_1qfek48">
<di:waypoint x="370" y="117" />
<di:waypoint x="432" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l2a37w_di" bpmnElement="Event_1l2a37w">
<dc:Bounds x="432" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_133vg9r_di" bpmnElement="Activity_CauseError">
<dc:Bounds x="270" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>