Shutdown work window with operator response deadline
Race operator approval of a shutdown window against expiry and validate isolation conditions before confirming the work. Editable collaboration with role lanes, decisions and a response-versus-expiry event race. Illustrative policy and timing; adapt to local requirements.
Rendering…
What this template contains
- Source
- 85 lines
Make it your own.
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="construction_shutdown_window_definitions" targetNamespace="urn:flowss:advanced">
<bpmn:message id="construction_shutdown_window_message" name="Shutdown window proposed"/>
<bpmn:message id="construction_shutdown_window_reply_message" name="Operator response received"/>
<bpmn:process id="construction_shutdown_window_process" name="Shutdown work window with operator response deadline" isExecutable="false">
<bpmn:documentation>Race operator approval of a shutdown window against expiry and validate isolation conditions before confirming the work. Inputs: Shutdown window proposed. All policy choices, durations and conditions are illustrative. Replace example rules with approved local policy; configure integrations and review before execution. This non-executable template does not assert legal compliance or a real completed case.</bpmn:documentation>
<bpmn:laneSet id="construction_shutdown_window_lanes"><bpmn:lane id="construction_shutdown_window_lane_0" name="Works coordinator"><bpmn:flowNodeRef>construction_shutdown_window_start</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_intake_1</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_intake_2</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_race</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_reply</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_checks_1</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_checks_2</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_decision</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_success_1</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_success_rest_1</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_complete</bpmn:flowNodeRef></bpmn:lane><bpmn:lane id="construction_shutdown_window_lane_1" name="Safety verifier"><bpmn:flowNodeRef>construction_shutdown_window_decline</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_declined</bpmn:flowNodeRef></bpmn:lane><bpmn:lane id="construction_shutdown_window_lane_2" name="Asset operations"><bpmn:flowNodeRef>construction_shutdown_window_expiry</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_exception_1</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_exception_2</bpmn:flowNodeRef><bpmn:flowNodeRef>construction_shutdown_window_alternate</bpmn:flowNodeRef></bpmn:lane></bpmn:laneSet>
<bpmn:startEvent id="construction_shutdown_window_start" name="Shutdown window proposed"><bpmn:messageEventDefinition id="construction_shutdown_window_start_def" messageRef="construction_shutdown_window_message"/></bpmn:startEvent>
<bpmn:userTask id="construction_shutdown_window_intake_1" name="Assess affected services"></bpmn:userTask>
<bpmn:userTask id="construction_shutdown_window_intake_2" name="Send shutdown request"></bpmn:userTask>
<bpmn:eventBasedGateway id="construction_shutdown_window_race" name="First response"></bpmn:eventBasedGateway>
<bpmn:intermediateCatchEvent id="construction_shutdown_window_reply" name="Operator response received"><bpmn:messageEventDefinition id="construction_shutdown_window_reply_def" messageRef="construction_shutdown_window_reply_message"/></bpmn:intermediateCatchEvent>
<bpmn:intermediateCatchEvent id="construction_shutdown_window_expiry" name="Offer expires"><bpmn:timerEventDefinition id="construction_shutdown_window_expiry_def"><bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P5D</bpmn:timeDuration></bpmn:timerEventDefinition></bpmn:intermediateCatchEvent>
<bpmn:userTask id="construction_shutdown_window_checks_1" name="Verify isolation plan"></bpmn:userTask>
<bpmn:userTask id="construction_shutdown_window_checks_2" name="Check alternate service readiness"></bpmn:userTask>
<bpmn:exclusiveGateway id="construction_shutdown_window_decision" name="Shutdown authorized?" default="construction_shutdown_window_flow_10"></bpmn:exclusiveGateway>
<bpmn:userTask id="construction_shutdown_window_success_1" name="Confirm controlled work window"></bpmn:userTask>
<bpmn:sendTask id="construction_shutdown_window_decline" name="Send decision and next steps"></bpmn:sendTask>
<bpmn:endEvent id="construction_shutdown_window_declined" name="Response not accepted"></bpmn:endEvent>
<bpmn:userTask id="construction_shutdown_window_success_rest_1" name="Issue affected-service notice"></bpmn:userTask>
<bpmn:endEvent id="construction_shutdown_window_complete" name="Window confirmed"></bpmn:endEvent>
<bpmn:userTask id="construction_shutdown_window_exception_1" name="Withdraw unconfirmed window"></bpmn:userTask>
<bpmn:userTask id="construction_shutdown_window_exception_2" name="Return work to planning"></bpmn:userTask>
<bpmn:endEvent id="construction_shutdown_window_alternate" name="Window withdrawn"></bpmn:endEvent>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_1" sourceRef="construction_shutdown_window_start" targetRef="construction_shutdown_window_intake_1"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_2" sourceRef="construction_shutdown_window_intake_1" targetRef="construction_shutdown_window_intake_2"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_3" sourceRef="construction_shutdown_window_intake_2" targetRef="construction_shutdown_window_race"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_4" sourceRef="construction_shutdown_window_race" targetRef="construction_shutdown_window_reply"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_5" sourceRef="construction_shutdown_window_race" targetRef="construction_shutdown_window_expiry"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_6" sourceRef="construction_shutdown_window_reply" targetRef="construction_shutdown_window_checks_1"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_7" sourceRef="construction_shutdown_window_checks_1" targetRef="construction_shutdown_window_checks_2"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_8" sourceRef="construction_shutdown_window_checks_2" targetRef="construction_shutdown_window_decision"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_9" sourceRef="construction_shutdown_window_decision" targetRef="construction_shutdown_window_success_1" name="Yes"><bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=shutdownAuthorized = true</bpmn:conditionExpression></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_10" sourceRef="construction_shutdown_window_decision" targetRef="construction_shutdown_window_decline" name="Otherwise"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_11" sourceRef="construction_shutdown_window_decline" targetRef="construction_shutdown_window_declined"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_12" sourceRef="construction_shutdown_window_success_1" targetRef="construction_shutdown_window_success_rest_1"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_13" sourceRef="construction_shutdown_window_success_rest_1" targetRef="construction_shutdown_window_complete"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_14" sourceRef="construction_shutdown_window_expiry" targetRef="construction_shutdown_window_exception_1"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_15" sourceRef="construction_shutdown_window_exception_1" targetRef="construction_shutdown_window_exception_2"></bpmn:sequenceFlow>
<bpmn:sequenceFlow id="construction_shutdown_window_flow_16" sourceRef="construction_shutdown_window_exception_2" targetRef="construction_shutdown_window_alternate"></bpmn:sequenceFlow>
</bpmn:process>
<bpmn:collaboration id="construction_shutdown_window_collaboration"><bpmn:participant id="construction_shutdown_window_party" name="Shutdown requester"/><bpmn:participant id="construction_shutdown_window_pool" name="Shutdown work window with operator response deadline" processRef="construction_shutdown_window_process"/><bpmn:messageFlow id="construction_shutdown_window_request" sourceRef="construction_shutdown_window_party" targetRef="construction_shutdown_window_start"/><bpmn:messageFlow id="construction_shutdown_window_response" sourceRef="construction_shutdown_window_party" targetRef="construction_shutdown_window_reply"/></bpmn:collaboration>
<bpmndi:BPMNDiagram id="construction_shutdown_window_diagram"><bpmndi:BPMNPlane id="construction_shutdown_window_plane" bpmnElement="construction_shutdown_window_collaboration">
<bpmndi:BPMNShape id="construction_shutdown_window_party_di" bpmnElement="construction_shutdown_window_party" isHorizontal="true"><dc:Bounds x="20" y="20" width="2420" height="70"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_pool_di" bpmnElement="construction_shutdown_window_pool" isHorizontal="true"><dc:Bounds x="20" y="180" width="2420" height="780"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_lane_0_di" bpmnElement="construction_shutdown_window_lane_0" isHorizontal="true"><dc:Bounds x="50" y="180" width="2390" height="260"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_lane_1_di" bpmnElement="construction_shutdown_window_lane_1" isHorizontal="true"><dc:Bounds x="50" y="440" width="2390" height="260"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_lane_2_di" bpmnElement="construction_shutdown_window_lane_2" isHorizontal="true"><dc:Bounds x="50" y="700" width="2390" height="260"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_start_di" bpmnElement="construction_shutdown_window_start"><dc:Bounds x="162" y="292" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="108" y="335" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_intake_1_di" bpmnElement="construction_shutdown_window_intake_1"><dc:Bounds x="325" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_intake_2_di" bpmnElement="construction_shutdown_window_intake_2"><dc:Bounds x="535" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_race_di" bpmnElement="construction_shutdown_window_race"><dc:Bounds x="786" y="286" width="48" height="48"/><bpmndi:BPMNLabel><dc:Bounds x="738" y="236" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_reply_di" bpmnElement="construction_shutdown_window_reply"><dc:Bounds x="1002" y="292" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="948" y="335" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_expiry_di" bpmnElement="construction_shutdown_window_expiry"><dc:Bounds x="1002" y="812" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="948" y="855" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_checks_1_di" bpmnElement="construction_shutdown_window_checks_1"><dc:Bounds x="1165" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_checks_2_di" bpmnElement="construction_shutdown_window_checks_2"><dc:Bounds x="1375" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_decision_di" bpmnElement="construction_shutdown_window_decision" isMarkerVisible="true"><dc:Bounds x="1626" y="286" width="48" height="48"/><bpmndi:BPMNLabel><dc:Bounds x="1578" y="236" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_success_1_di" bpmnElement="construction_shutdown_window_success_1"><dc:Bounds x="1795" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_decline_di" bpmnElement="construction_shutdown_window_decline"><dc:Bounds x="1795" y="532" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_declined_di" bpmnElement="construction_shutdown_window_declined"><dc:Bounds x="2052" y="552" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="1998" y="595" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_success_rest_1_di" bpmnElement="construction_shutdown_window_success_rest_1"><dc:Bounds x="2005" y="272" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_complete_di" bpmnElement="construction_shutdown_window_complete"><dc:Bounds x="2262" y="292" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="2208" y="335" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_exception_1_di" bpmnElement="construction_shutdown_window_exception_1"><dc:Bounds x="1165" y="792" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_exception_2_di" bpmnElement="construction_shutdown_window_exception_2"><dc:Bounds x="1375" y="792" width="130" height="76"/></bpmndi:BPMNShape>
<bpmndi:BPMNShape id="construction_shutdown_window_alternate_di" bpmnElement="construction_shutdown_window_alternate"><dc:Bounds x="1632" y="812" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="1578" y="855" width="144" height="40"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_1_di" bpmnElement="construction_shutdown_window_flow_1"><di:waypoint x="198" y="310"/><di:waypoint x="325" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_2_di" bpmnElement="construction_shutdown_window_flow_2"><di:waypoint x="455" y="310"/><di:waypoint x="535" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_3_di" bpmnElement="construction_shutdown_window_flow_3"><di:waypoint x="665" y="310"/><di:waypoint x="786" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_4_di" bpmnElement="construction_shutdown_window_flow_4"><di:waypoint x="834" y="310"/><di:waypoint x="1002" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_5_di" bpmnElement="construction_shutdown_window_flow_5"><di:waypoint x="834" y="310"/><di:waypoint x="918" y="310"/><di:waypoint x="918" y="830"/><di:waypoint x="1002" y="830"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_6_di" bpmnElement="construction_shutdown_window_flow_6"><di:waypoint x="1038" y="310"/><di:waypoint x="1165" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_7_di" bpmnElement="construction_shutdown_window_flow_7"><di:waypoint x="1295" y="310"/><di:waypoint x="1375" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_8_di" bpmnElement="construction_shutdown_window_flow_8"><di:waypoint x="1505" y="310"/><di:waypoint x="1626" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_9_di" bpmnElement="construction_shutdown_window_flow_9"><di:waypoint x="1674" y="310"/><di:waypoint x="1795" y="310"/><bpmndi:BPMNLabel><dc:Bounds x="1682" y="283" width="100" height="22"/></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_10_di" bpmnElement="construction_shutdown_window_flow_10"><di:waypoint x="1674" y="310"/><di:waypoint x="1735" y="310"/><di:waypoint x="1735" y="570"/><di:waypoint x="1795" y="570"/><bpmndi:BPMNLabel><dc:Bounds x="1682" y="320" width="100" height="22"/></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_11_di" bpmnElement="construction_shutdown_window_flow_11"><di:waypoint x="1925" y="570"/><di:waypoint x="2052" y="570"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_12_di" bpmnElement="construction_shutdown_window_flow_12"><di:waypoint x="1925" y="310"/><di:waypoint x="2005" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_13_di" bpmnElement="construction_shutdown_window_flow_13"><di:waypoint x="2135" y="310"/><di:waypoint x="2262" y="310"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_14_di" bpmnElement="construction_shutdown_window_flow_14"><di:waypoint x="1038" y="830"/><di:waypoint x="1165" y="830"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_15_di" bpmnElement="construction_shutdown_window_flow_15"><di:waypoint x="1295" y="830"/><di:waypoint x="1375" y="830"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_flow_16_di" bpmnElement="construction_shutdown_window_flow_16"><di:waypoint x="1505" y="830"/><di:waypoint x="1632" y="830"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_request_di" bpmnElement="construction_shutdown_window_request"><di:waypoint x="180" y="90"/><di:waypoint x="180" y="292"/></bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="construction_shutdown_window_response_di" bpmnElement="construction_shutdown_window_response"><di:waypoint x="1020" y="90"/><di:waypoint x="1020" y="292"/></bpmndi:BPMNEdge>
</bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
</bpmn:definitions>