Исходник схемы
<?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="Definitions_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" targetNamespace="urn:sharix:knowledge:processes">
<bpmn:process id="Process_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" name="Новая ST_REQUEST: ожидание, очередь и переход в ASSIGNED" isExecutable="false">
<bpmn:documentation>{"notes": ["Схема сверена с предметным описанием и актуальными опубликованными источниками; не является исполняемым workflow."], "sources": [{"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "handlers/open_st_request_new.py", "repository": "sharix-open-handlers-examples", "sha256": "61018daa9c34997a45df6990cbc508b79b15cab5f23849ff62b4c3e30931a00d"}, {"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "generated_handler_blocks/open_st_request_new.json", "repository": "sharix-open-handlers-examples", "sha256": "71e3e62887b3fe99581387f6e29003d80472006334f2f42ffbaf85c1e422f5c0"}, {"commit": "dc3f19fe133828698370477f124b79e6c0239a64", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/assignment.py", "repository": "sharix-open-tickets", "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "models/ticket.py", "repository": "sharix-open-tickets", "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"}]}</bpmn:documentation>
<bpmn:laneSet id="Lanes_ShariXKnowledgeSTRequestWaitingBPMN_new_complete">
<bpmn:lane id="Lane_workflow" name="Обработчик и scoped API: последовательность операций">
<bpmn:flowNodeRef>start</bpmn:flowNodeRef>
<bpmn:flowNodeRef>auto</bpmn:flowNodeRef>
<bpmn:flowNodeRef>review</bpmn:flowNodeRef>
<bpmn:flowNodeRef>manual</bpmn:flowNodeRef>
<bpmn:flowNodeRef>scope</bpmn:flowNodeRef>
<bpmn:flowNodeRef>found</bpmn:flowNodeRef>
<bpmn:flowNodeRef>none</bpmn:flowNodeRef>
<bpmn:flowNodeRef>save</bpmn:flowNodeRef>
<bpmn:flowNodeRef>next</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="start" name="Актуальный NEW Ticket">
<bpmn:outgoing>Flow_0</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:exclusiveGateway id="auto" name="STREQ_AUTOACCEPT?">
<bpmn:incoming>Flow_0</bpmn:incoming>
<bpmn:incoming>Flow_3</bpmn:incoming>
<bpmn:outgoing>Flow_1</bpmn:outgoing>
<bpmn:outgoing>Flow_4</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:serviceTask id="review" name="Нет: API reviewers → MUC по сроку">
<bpmn:incoming>Flow_1</bpmn:incoming>
<bpmn:outgoing>Flow_2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:intermediateCatchEvent id="manual" name="support_assignment; ждать решение">
<bpmn:incoming>Flow_2</bpmn:incoming>
<bpmn:outgoing>Flow_3</bpmn:outgoing>
<bpmn:timerEventDefinition>
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">ST_REQUEST_NEW_RECHECK_SECONDS</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:serviceTask id="scope" name="Да: API сохранить / выбрать assignee">
<bpmn:incoming>Flow_4</bpmn:incoming>
<bpmn:incoming>Flow_7</bpmn:incoming>
<bpmn:outgoing>Flow_5</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="found" name="Есть допустимый человек?">
<bpmn:incoming>Flow_5</bpmn:incoming>
<bpmn:outgoing>Flow_6</bpmn:outgoing>
<bpmn:outgoing>Flow_8</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:intermediateCatchEvent id="none" name="no_eligible_assignee; повтор">
<bpmn:incoming>Flow_6</bpmn:incoming>
<bpmn:outgoing>Flow_7</bpmn:outgoing>
<bpmn:timerEventDefinition>
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">ST_REQUEST_NEW_RECHECK_SECONDS</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:serviceTask id="save" name="Сохранённый assigned_to → ASSIGNED">
<bpmn:incoming>Flow_8</bpmn:incoming>
<bpmn:outgoing>Flow_9</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:intermediateCatchEvent id="next" name="После commit + handoff следующему">
<bpmn:incoming>Flow_9</bpmn:incoming>
<bpmn:messageEventDefinition />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_0" sourceRef="start" targetRef="auto" name="" />
<bpmn:sequenceFlow id="Flow_1" sourceRef="auto" targetRef="review" name="Нет" />
<bpmn:sequenceFlow id="Flow_2" sourceRef="review" targetRef="manual" name="" />
<bpmn:sequenceFlow id="Flow_3" sourceRef="manual" targetRef="auto" name="Изменение / срок" />
<bpmn:sequenceFlow id="Flow_4" sourceRef="auto" targetRef="scope" name="Да" />
<bpmn:sequenceFlow id="Flow_5" sourceRef="scope" targetRef="found" name="" />
<bpmn:sequenceFlow id="Flow_6" sourceRef="found" targetRef="none" name="Нет" />
<bpmn:sequenceFlow id="Flow_7" sourceRef="none" targetRef="scope" name="Изменение / срок" />
<bpmn:sequenceFlow id="Flow_8" sourceRef="found" targetRef="save" name="Да" />
<bpmn:sequenceFlow id="Flow_9" sourceRef="save" targetRef="next" name="" />
</bpmn:process>
<bpmn:collaboration id="Collaboration_ShariXKnowledgeSTRequestWaitingBPMN_new_complete">
<bpmn:participant id="Pool_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" name="Новая ST_REQUEST: ожидание, очередь и переход в ASSIGNED" processRef="Process_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" />
</bpmn:collaboration>
<bpmndi:BPMNDiagram id="Diagram_ShariXKnowledgeSTRequestWaitingBPMN_new_complete">
<bpmndi:BPMNPlane id="Plane_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" bpmnElement="Collaboration_ShariXKnowledgeSTRequestWaitingBPMN_new_complete">
<bpmndi:BPMNShape id="DI_Pool_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" bpmnElement="Pool_ShariXKnowledgeSTRequestWaitingBPMN_new_complete" isHorizontal="true">
<dc:Bounds x="0" y="0" width="1470" height="620" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_Lane_workflow" bpmnElement="Lane_workflow" isHorizontal="true">
<dc:Bounds x="30" y="0" width="1440" height="620" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_start" bpmnElement="start">
<dc:Bounds x="152.0" y="82.0" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_auto" bpmnElement="auto">
<dc:Bounds x="365.0" y="75.0" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_review" bpmnElement="review">
<dc:Bounds x="545.0" y="65.0" width="150" height="70" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_manual" bpmnElement="manual">
<dc:Bounds x="832.0" y="82.0" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_scope" bpmnElement="scope">
<dc:Bounds x="545.0" y="315.0" width="150" height="70" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_found" bpmnElement="found">
<dc:Bounds x="825.0" y="325.0" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_none" bpmnElement="none">
<dc:Bounds x="1072.0" y="502.0" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_save" bpmnElement="save">
<dc:Bounds x="1015.0" y="315.0" width="150" height="70" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DI_next" bpmnElement="next">
<dc:Bounds x="1292.0" y="332.0" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="DI_Flow_0" bpmnElement="Flow_0">
<di:waypoint x="188.0" y="100.0" />
<di:waypoint x="365.0" y="100.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_1" bpmnElement="Flow_1">
<di:waypoint x="415.0" y="100.0" />
<di:waypoint x="545.0" y="100.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_2" bpmnElement="Flow_2">
<di:waypoint x="695.0" y="100.0" />
<di:waypoint x="832.0" y="100.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_3" bpmnElement="Flow_3">
<di:waypoint x="868.0" y="100.0" />
<di:waypoint x="365.0" y="100.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_4" bpmnElement="Flow_4">
<di:waypoint x="415.0" y="100.0" />
<di:waypoint x="480.0" y="100.0" />
<di:waypoint x="480.0" y="350.0" />
<di:waypoint x="545.0" y="350.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_5" bpmnElement="Flow_5">
<di:waypoint x="695.0" y="350.0" />
<di:waypoint x="825.0" y="350.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_6" bpmnElement="Flow_6">
<di:waypoint x="875.0" y="350.0" />
<di:waypoint x="973.5" y="350.0" />
<di:waypoint x="973.5" y="520.0" />
<di:waypoint x="1072.0" y="520.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_7" bpmnElement="Flow_7">
<di:waypoint x="1108.0" y="520.0" />
<di:waypoint x="826.5" y="520.0" />
<di:waypoint x="826.5" y="350.0" />
<di:waypoint x="545.0" y="350.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_8" bpmnElement="Flow_8">
<di:waypoint x="875.0" y="350.0" />
<di:waypoint x="1015.0" y="350.0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DI_Flow_9" bpmnElement="Flow_9">
<di:waypoint x="1165.0" y="350.0" />
<di:waypoint x="1292.0" y="350.0" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>