91 lines
5.2 KiB
Plaintext
Raw Normal View History

<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_timer_events_oh3akqq" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
<bpmn:endEvent id="EndEvent_1" name="The Quick End">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>
## Will you take too long to respond?
There is a timer event connected to this task. If you take too long to hit the continue button the process will continue with out you.
***Important:*** Don't wait here. Go back to the instance page, and refresh till you see the diagram change. The web page you are on won't refresh when the timer goes off (at least not yet) - but if you wait more than a minute, you will get an error when you try to submit the page because this is no longer the current task. </spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:boundaryEvent id="Event_0bzzc9k" attachedToRef="Activity_0qpzdpu">
<bpmn:outgoing>Flow_1aka6fb</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1rh16fc">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT315S"</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_1aka6fb" sourceRef="Event_0bzzc9k" targetRef="Event_11cgaj7" />
<bpmn:endEvent id="Event_11cgaj7" name="The Slow End">
<bpmn:incoming>Flow_1aka6fb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:textAnnotation id="TextAnnotation_1l045fs">
<bpmn:text>BE PATIENT!
These timer events are a little slow to catch.  They are designed to be efficient across days or weeks.  We check active timers every few minutes, even those set for just a few seconds.</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_1nplhmk" sourceRef="Event_0bzzc9k" targetRef="TextAnnotation_1l045fs" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_timer_events_oh3akqq">
<bpmndi:BPMNShape id="TextAnnotation_1l045fs_di" bpmnElement="TextAnnotation_1l045fs">
<dc:Bounds x="0" y="330" width="280" height="100" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="482" y="159" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="464" y="202" width="73" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_11cgaj7_di" bpmnElement="Event_11cgaj7">
<dc:Bounds x="482" y="282" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="466" y="325" width="69" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_1nplhmk_di" bpmnElement="Association_1nplhmk">
<di:waypoint x="314" y="224" />
<di:waypoint x="83" y="330" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_02pk5ku_di" bpmnElement="Event_0bzzc9k">
<dc:Bounds x="312" y="199" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
<di:waypoint x="370" y="177" />
<di:waypoint x="482" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1aka6fb_di" bpmnElement="Flow_1aka6fb">
<di:waypoint x="330" y="235" />
<di:waypoint x="330" y="300" />
<di:waypoint x="482" y="300" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>