All files / fixtures/flowable legacy-boundary-events.bpmn

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116                                                                                                                                                                                                                                       
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
  <signal id="alertSignal" name="Alert Signal"/>
  <message id="orderMessage" name="Order Message"/>
  <error id="businessError" name="Business Error" errorCode="ERR-001"/>
  <process id="boundaryEventProcess" name="Boundary Event Process" isExecutable="true">
    <startEvent id="startevent1" name="Start"/>
    <userTask id="usertask1" name="Wait for Timer" activiti:assignee="kermit"/>
    <userTask id="usertask2" name="Wait for Error" activiti:assignee="gonzo"/>
    <serviceTask id="servicetask1" name="Wait for Signal" activiti:class="com.example.SignalService"/>
    <serviceTask id="servicetask2" name="Wait for Message" activiti:class="com.example.MessageService"/>
    <endEvent id="endevent1" name="Done"/>
    <boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="usertask1" cancelActivity="true">
      <timerEventDefinition>
        <timeDuration>PT5M</timeDuration>
      </timerEventDefinition>
    </boundaryEvent>
    <boundaryEvent id="boundaryerror1" name="Error" attachedToRef="usertask2">
      <errorEventDefinition errorRef="businessError"/>
    </boundaryEvent>
    <boundaryEvent id="boundarysignal1" name="Signal" attachedToRef="servicetask1" cancelActivity="false">
      <signalEventDefinition signalRef="alertSignal"/>
    </boundaryEvent>
    <boundaryEvent id="boundarymessage1" name="Message" attachedToRef="servicetask2" cancelActivity="true">
      <messageEventDefinition messageRef="orderMessage"/>
    </boundaryEvent>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"/>
    <sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"/>
    <sequenceFlow id="flow3" sourceRef="usertask2" targetRef="servicetask1"/>
    <sequenceFlow id="flow4" sourceRef="servicetask1" targetRef="servicetask2"/>
    <sequenceFlow id="flow5" sourceRef="servicetask2" targetRef="endevent1"/>
    <sequenceFlow id="flow6" sourceRef="boundarytimer1" targetRef="endevent1"/>
    <sequenceFlow id="flow7" sourceRef="boundaryerror1" targetRef="endevent1"/>
    <sequenceFlow id="flow8" sourceRef="boundarysignal1" targetRef="endevent1"/>
    <sequenceFlow id="flow9" sourceRef="boundarymessage1" targetRef="endevent1"/>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_boundaryEventProcess">
    <bpmndi:BPMNPlane bpmnElement="boundaryEventProcess" id="BPMNPlane_boundaryEventProcess">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="90.0" y="250.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
        <omgdc:Bounds height="55.0" width="105.0" x="180.0" y="240.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
        <omgdc:Bounds height="55.0" width="105.0" x="340.0" y="240.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="servicetask1" id="BPMNShape_servicetask1">
        <omgdc:Bounds height="55.0" width="105.0" x="500.0" y="240.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="servicetask2" id="BPMNShape_servicetask2">
        <omgdc:Bounds height="55.0" width="105.0" x="660.0" y="240.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="820.0" y="250.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="boundarytimer1" id="BPMNShape_boundarytimer1">
        <omgdc:Bounds height="30.0" width="30.0" x="217.0" y="280.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="boundaryerror1" id="BPMNShape_boundaryerror1">
        <omgdc:Bounds height="30.0" width="30.0" x="377.0" y="280.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="boundarysignal1" id="BPMNShape_boundarysignal1">
        <omgdc:Bounds height="30.0" width="30.0" x="537.0" y="280.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="boundarymessage1" id="BPMNShape_boundarymessage1">
        <omgdc:Bounds height="30.0" width="30.0" x="697.0" y="280.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="125.0" y="267.5"/>
        <omgdi:waypoint x="180.0" y="267.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="285.0" y="267.5"/>
        <omgdi:waypoint x="340.0" y="267.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="445.0" y="267.5"/>
        <omgdi:waypoint x="500.0" y="267.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
        <omgdi:waypoint x="605.0" y="267.5"/>
        <omgdi:waypoint x="660.0" y="267.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
        <omgdi:waypoint x="765.0" y="267.5"/>
        <omgdi:waypoint x="820.0" y="267.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
        <omgdi:waypoint x="232.0" y="310.0"/>
        <omgdi:waypoint x="232.0" y="350.0"/>
        <omgdi:waypoint x="837.5" y="350.0"/>
        <omgdi:waypoint x="837.5" y="285.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
        <omgdi:waypoint x="392.0" y="310.0"/>
        <omgdi:waypoint x="392.0" y="360.0"/>
        <omgdi:waypoint x="837.5" y="360.0"/>
        <omgdi:waypoint x="837.5" y="285.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
        <omgdi:waypoint x="552.0" y="310.0"/>
        <omgdi:waypoint x="552.0" y="370.0"/>
        <omgdi:waypoint x="837.5" y="370.0"/>
        <omgdi:waypoint x="837.5" y="285.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
        <omgdi:waypoint x="712.0" y="310.0"/>
        <omgdi:waypoint x="712.0" y="380.0"/>
        <omgdi:waypoint x="837.5" y="380.0"/>
        <omgdi:waypoint x="837.5" y="285.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>