spiff-arena/tests/SpiffWorkflow/bpmn/data/timer-non-interrupt-boundary.bpmn
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

170 lines
8.8 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0wc03ht" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.0">
<bpmn:process id="NonInterruptTimer" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1hyztad</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:subProcess id="Activity_0e5qk4z">
<bpmn:incoming>Flow_1hyztad</bpmn:incoming>
<bpmn:outgoing>Flow_07l1pau</bpmn:outgoing>
<bpmn:startEvent id="Event_0rpm2hw">
<bpmn:outgoing>Flow_1ls93l9</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1ls93l9" sourceRef="Event_0rpm2hw" targetRef="Activity_Work" />
<bpmn:exclusiveGateway id="Gateway_WorkDone" name="Done Yet?" default="Flow_06jd2h7">
<bpmn:incoming>Flow_1ku6me6</bpmn:incoming>
<bpmn:outgoing>Flow_06jd2h7</bpmn:outgoing>
<bpmn:outgoing>Flow_10bimyk</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1ku6me6" sourceRef="Activity_Work" targetRef="Gateway_WorkDone" />
<bpmn:sequenceFlow id="Flow_06jd2h7" name="No" sourceRef="Gateway_WorkDone" targetRef="Activity_Work" />
<bpmn:endEvent id="Event_1sxw3jz">
<bpmn:incoming>Flow_10bimyk</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_10bimyk" name="Yes" sourceRef="Gateway_WorkDone" targetRef="Event_1sxw3jz">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">work_done == 'Yes'</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="Activity_Work" name="Work Done?" camunda:formKey="WorkForm">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="work_done" label="Do you have your work done?" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ls93l9</bpmn:incoming>
<bpmn:incoming>Flow_06jd2h7</bpmn:incoming>
<bpmn:outgoing>Flow_1ku6me6</bpmn:outgoing>
</bpmn:userTask>
</bpmn:subProcess>
<bpmn:boundaryEvent id="Event_0jyy8ao" name="BenchmarkTime" cancelActivity="false" attachedToRef="Activity_0e5qk4z">
<bpmn:outgoing>Flow_03e1mfr</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_15a4lk2">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(seconds=.2)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:userTask id="GetReason" name="Delay Reason" camunda:formKey="DelayForm">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="delay_reason" label="Why did you take too long?" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_03e1mfr</bpmn:incoming>
<bpmn:outgoing>Flow_0tlkkap</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1hyztad" sourceRef="StartEvent_1" targetRef="Activity_0e5qk4z" />
<bpmn:sequenceFlow id="Flow_07l1pau" sourceRef="Activity_0e5qk4z" targetRef="Gateway_19fdoel" />
<bpmn:sequenceFlow id="Flow_0tlkkap" sourceRef="GetReason" targetRef="Gateway_19fdoel" />
<bpmn:sequenceFlow id="Flow_03e1mfr" sourceRef="Event_0jyy8ao" targetRef="GetReason" />
<bpmn:parallelGateway id="Gateway_19fdoel">
<bpmn:incoming>Flow_07l1pau</bpmn:incoming>
<bpmn:incoming>Flow_0tlkkap</bpmn:incoming>
<bpmn:outgoing>Flow_0vper9q</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_0vper9q" sourceRef="Gateway_19fdoel" targetRef="Experience" />
<bpmn:endEvent id="Event_17ly1lc">
<bpmn:incoming>Flow_0or6odg</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0or6odg" sourceRef="Experience" targetRef="Event_17ly1lc" />
<bpmn:userTask id="Experience" name="What was your work Experience?" camunda:formKey="ExpForm">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="experience" label="What was your Work Experience?" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0vper9q</bpmn:incoming>
<bpmn:outgoing>Flow_0or6odg</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="NonInterruptTimer">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="112" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0e5qk4z_di" bpmnElement="Activity_0e5qk4z" isExpanded="true">
<dc:Bounds x="210" y="77" width="530" height="200" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0rpm2hw_di" bpmnElement="Event_0rpm2hw">
<dc:Bounds x="242" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0neqjqa_di" bpmnElement="Event_0jyy8ao">
<dc:Bounds x="572" y="259" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="551" y="302" width="80" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09w3ybl_di" bpmnElement="GetReason">
<dc:Bounds x="540" y="350" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1hyztad_di" bpmnElement="Flow_1hyztad">
<di:waypoint x="148" y="177" />
<di:waypoint x="210" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07l1pau_di" bpmnElement="Flow_07l1pau">
<di:waypoint x="740" y="177" />
<di:waypoint x="785" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0tlkkap_di" bpmnElement="Flow_0tlkkap">
<di:waypoint x="640" y="390" />
<di:waypoint x="810" y="390" />
<di:waypoint x="810" y="202" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_03e1mfr_di" bpmnElement="Flow_03e1mfr">
<di:waypoint x="590" y="295" />
<di:waypoint x="590" y="350" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ls93l9_di" bpmnElement="Flow_1ls93l9">
<di:waypoint x="278" y="177" />
<di:waypoint x="320" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Gateway_1qxx57d_di" bpmnElement="Gateway_WorkDone" isMarkerVisible="true">
<dc:Bounds x="495" y="152" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="495" y="122" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_12d9rs0_di" bpmnElement="Gateway_19fdoel">
<dc:Bounds x="785" y="152" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1ku6me6_di" bpmnElement="Flow_1ku6me6">
<di:waypoint x="420" y="177" />
<di:waypoint x="495" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06jd2h7_di" bpmnElement="Flow_06jd2h7">
<di:waypoint x="520" y="202" />
<di:waypoint x="520" y="250" />
<di:waypoint x="370" y="250" />
<di:waypoint x="370" y="217" />
<bpmndi:BPMNLabel>
<dc:Bounds x="438" y="232" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1sxw3jz_di" bpmnElement="Event_1sxw3jz">
<dc:Bounds x="602" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_10bimyk_di" bpmnElement="Flow_10bimyk">
<di:waypoint x="545" y="177" />
<di:waypoint x="602" y="177" />
<bpmndi:BPMNLabel>
<dc:Bounds x="564" y="159" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Activity_1ax46dw_di" bpmnElement="Activity_Work">
<dc:Bounds x="320" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0vper9q_di" bpmnElement="Flow_0vper9q">
<di:waypoint x="835" y="177" />
<di:waypoint x="860" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_17ly1lc_di" bpmnElement="Event_17ly1lc">
<dc:Bounds x="992" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0or6odg_di" bpmnElement="Flow_0or6odg">
<di:waypoint x="960" y="177" />
<di:waypoint x="992" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Activity_130382b_di" bpmnElement="Experience">
<dc:Bounds x="860" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>