spiff-arena/tests/SpiffWorkflow/bpmn/data/Test-Workflows/CallActivity-Escalation-Test-Sub.bpmn20.xml
Jon Herron 0892db6fa7 Squashed 'SpiffWorkflow/' content from commit 63db3e4
git-subtree-dir: SpiffWorkflow
git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
2022-10-12 10:19:53 -04:00

118 lines
6.4 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.3">
<bpmn:process id="CallActivity-Escalation-Test-Sub" isExecutable="false">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_1pdxvjo</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:exclusiveGateway id="ExclusiveGateway_1fftpux" name="should escalate?" default="SequenceFlow_07vs6qb">
<bpmn:incoming>SequenceFlow_0expyhf</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_07vs6qb</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_15hc88y</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_1pdxvjo" sourceRef="StartEvent_1" targetRef="ExclusiveGateway_0faf08n" />
<bpmn:endEvent id="EndEvent_0kpn6yh">
<bpmn:incoming>SequenceFlow_07vs6qb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_07vs6qb" name="no" sourceRef="ExclusiveGateway_1fftpux" targetRef="EndEvent_0kpn6yh" />
<bpmn:sequenceFlow id="SequenceFlow_15hc88y" name="yes" sourceRef="ExclusiveGateway_1fftpux" targetRef="EndEvent_09tnjk6">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" language="python">should_escalate</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="EndEvent_09tnjk6">
<bpmn:incoming>SequenceFlow_15hc88y</bpmn:incoming>
<bpmn:escalationEventDefinition escalationRef="Escalation_1oeml95" />
</bpmn:endEvent>
<bpmn:exclusiveGateway id="ExclusiveGateway_0faf08n" name="variable present?" default="SequenceFlow_0rwyweg">
<bpmn:incoming>SequenceFlow_1pdxvjo</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0expyhf</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_0rwyweg</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_0expyhf" name="yes" sourceRef="ExclusiveGateway_0faf08n" targetRef="ExclusiveGateway_1fftpux">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" language="python">'should_escalate' in vars() or 'should_escalate' in globals()
</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="SequenceFlow_0rwyweg" name="no" sourceRef="ExclusiveGateway_0faf08n" targetRef="EndEvent_1iplfgs" />
<bpmn:endEvent id="EndEvent_1iplfgs">
<bpmn:incoming>SequenceFlow_0rwyweg</bpmn:incoming>
<bpmn:escalationEventDefinition escalationRef="Escalation_0i2y5fh" />
</bpmn:endEvent>
</bpmn:process>
<bpmn:escalation id="Escalation_1oeml95" name="Escalation_1d67ilm" escalationCode="test-escalation" />
<bpmn:escalation id="Escalation_0i2y5fh" name="Escalation_0vdmq95" escalationCode="no-variable-present" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CallActivity-Escalation-Test-Sub">
<bpmndi:BPMNEdge id="SequenceFlow_0rwyweg_di" bpmnElement="SequenceFlow_0rwyweg">
<di:waypoint x="278" y="155" />
<di:waypoint x="278" y="119" />
<bpmndi:BPMNLabel>
<dc:Bounds x="287" y="131" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0expyhf_di" bpmnElement="SequenceFlow_0expyhf">
<di:waypoint x="303" y="180" />
<di:waypoint x="388" y="180" />
<bpmndi:BPMNLabel>
<dc:Bounds x="337" y="159" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_15hc88y_di" bpmnElement="SequenceFlow_15hc88y">
<di:waypoint x="438" y="180" />
<di:waypoint x="549" y="180" />
<bpmndi:BPMNLabel>
<dc:Bounds x="485" y="159" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_07vs6qb_di" bpmnElement="SequenceFlow_07vs6qb">
<di:waypoint x="413" y="155" />
<di:waypoint x="413" y="101" />
<di:waypoint x="549" y="101" />
<bpmndi:BPMNLabel>
<dc:Bounds x="422" y="122" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_1pdxvjo_di" bpmnElement="SequenceFlow_1pdxvjo">
<di:waypoint x="195" y="180" />
<di:waypoint x="253" y="180" />
<bpmndi:BPMNLabel>
<dc:Bounds x="99" y="99" width="90" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="159" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="52" y="138" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_1fftpux_di" bpmnElement="ExclusiveGateway_1fftpux" isMarkerVisible="true">
<dc:Bounds x="388" y="155" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="373" y="209" width="83" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_0kpn6yh_di" bpmnElement="EndEvent_0kpn6yh">
<dc:Bounds x="549" y="83" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="487" y="63" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1fzzy0c_di" bpmnElement="EndEvent_09tnjk6">
<dc:Bounds x="549" y="162" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="487" y="142" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_0faf08n_di" bpmnElement="ExclusiveGateway_0faf08n" isMarkerVisible="true">
<dc:Bounds x="253" y="155" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="236" y="209" width="85" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_1bihs4n_di" bpmnElement="EndEvent_1iplfgs">
<dc:Bounds x="260" y="83" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="198" y="63" width="0" height="12" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>