mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 22:28:15 +00:00
263 lines
14 KiB
XML
263 lines
14 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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||
<bpmn:process id="Process_duedil_mttumse" isExecutable="true">
|
||
<bpmn:documentation>Выбор юр. лица для проверки</bpmn:documentation>
|
||
<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">
|
||
<bpmn:extensionElements>
|
||
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
|
||
</bpmn:extensionElements>
|
||
<bpmn:incoming>Flow_0sdnnjh</bpmn:incoming>
|
||
</bpmn:endEvent>
|
||
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_09h0c2e" />
|
||
<bpmn:serviceTask id="Activity_0qpzdpu" name="Создание модели проверки">
|
||
<bpmn:documentation>В БД создаётся модель проверки
|
||
с ИНН или внутренним ID, но без полей данных</bpmn:documentation>
|
||
<bpmn:extensionElements>
|
||
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||
|
||
* **Script Task** - write a short snippet of python code to update some data
|
||
* **User Task** - generate a form that collects information from a user
|
||
* **Service Task** - communicate with an external API to fetch or update some data.
|
||
|
||
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||
</bpmn:extensionElements>
|
||
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||
</bpmn:serviceTask>
|
||
<bpmn:exclusiveGateway id="Gateway_1ctvscx">
|
||
<bpmn:documentation>Зависит от
|
||
1. Источника данных
|
||
2. Поля "тема" или иного в тексте запроса к API</bpmn:documentation>
|
||
<bpmn:incoming>Flow_1o2zto4</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_0sdnnjh</bpmn:outgoing>
|
||
<bpmn:outgoing>Flow_0531lbs</bpmn:outgoing>
|
||
</bpmn:exclusiveGateway>
|
||
<bpmn:sequenceFlow id="Flow_0sdnnjh" sourceRef="Gateway_1ctvscx" targetRef="EndEvent_1" />
|
||
<bpmn:startEvent id="Event_1abflss">
|
||
<bpmn:outgoing>Flow_0ljkgzq</bpmn:outgoing>
|
||
</bpmn:startEvent>
|
||
<bpmn:sequenceFlow id="Flow_0ljkgzq" sourceRef="Event_1abflss" targetRef="Activity_16294ps" />
|
||
<bpmn:userTask id="Activity_16294ps" name="Просмотр таблицы">
|
||
<bpmn:documentation>Оператор выбирает заявку</bpmn:documentation>
|
||
<bpmn:incoming>Flow_0ljkgzq</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_1wfhppn</bpmn:outgoing>
|
||
</bpmn:userTask>
|
||
<bpmn:sequenceFlow id="Flow_0531lbs" sourceRef="Gateway_1ctvscx" targetRef="Activity_1wfr4px" />
|
||
<bpmn:serviceTask id="Activity_1wfr4px" name="Добавить в очередь упрощённых проверок">
|
||
<bpmn:incoming>Flow_0531lbs</bpmn:incoming>
|
||
</bpmn:serviceTask>
|
||
<bpmn:sequenceFlow id="Flow_1wfhppn" sourceRef="Activity_16294ps" targetRef="Activity_0jnehcy" />
|
||
<bpmn:userTask id="Activity_0jnehcy" name="Детальная форма проверки">
|
||
<bpmn:incoming>Flow_1wfhppn</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_018xi78</bpmn:outgoing>
|
||
</bpmn:userTask>
|
||
<bpmn:exclusiveGateway id="Gateway_0u5hxx6" name="Продолжить или отказать?">
|
||
<bpmn:incoming>Flow_018xi78</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_05g9ujw</bpmn:outgoing>
|
||
</bpmn:exclusiveGateway>
|
||
<bpmn:sequenceFlow id="Flow_018xi78" sourceRef="Activity_0jnehcy" targetRef="Gateway_0u5hxx6" />
|
||
<bpmn:subProcess id="Activity_09h0c2e" name="Получение данных о ЧС">
|
||
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_1o2zto4</bpmn:outgoing>
|
||
<bpmn:serviceTask id="Activity_1n2dan7" name="Чёрный список b2b">
|
||
<bpmn:documentation>
|
||
</bpmn:documentation>
|
||
<bpmn:incoming>Flow_0p77oda</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_05yo3p2</bpmn:outgoing>
|
||
</bpmn:serviceTask>
|
||
<bpmn:startEvent id="Event_14x8qnu">
|
||
<bpmn:outgoing>Flow_0htpukj</bpmn:outgoing>
|
||
</bpmn:startEvent>
|
||
<bpmn:parallelGateway id="Gateway_10v40wy">
|
||
<bpmn:incoming>Flow_0htpukj</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_0p77oda</bpmn:outgoing>
|
||
<bpmn:outgoing>Flow_0v582z2</bpmn:outgoing>
|
||
</bpmn:parallelGateway>
|
||
<bpmn:sequenceFlow id="Flow_0p77oda" sourceRef="Gateway_10v40wy" targetRef="Activity_1n2dan7" />
|
||
<bpmn:serviceTask id="Activity_1lzy634" name="Чёрный список внутренний">
|
||
<bpmn:incoming>Flow_0v582z2</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_1u9cm6m</bpmn:outgoing>
|
||
</bpmn:serviceTask>
|
||
<bpmn:sequenceFlow id="Flow_0v582z2" sourceRef="Gateway_10v40wy" targetRef="Activity_1lzy634" />
|
||
<bpmn:sequenceFlow id="Flow_0htpukj" sourceRef="Event_14x8qnu" targetRef="Gateway_10v40wy" />
|
||
<bpmn:parallelGateway id="Gateway_16vfhsc">
|
||
<bpmn:incoming>Flow_1u9cm6m</bpmn:incoming>
|
||
<bpmn:incoming>Flow_05yo3p2</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_17phpch</bpmn:outgoing>
|
||
</bpmn:parallelGateway>
|
||
<bpmn:sequenceFlow id="Flow_1u9cm6m" sourceRef="Activity_1lzy634" targetRef="Gateway_16vfhsc" />
|
||
<bpmn:sequenceFlow id="Flow_05yo3p2" sourceRef="Activity_1n2dan7" targetRef="Gateway_16vfhsc" />
|
||
<bpmn:exclusiveGateway id="Gateway_0w2bxp6" name="Есть ли в ЧС?">
|
||
<bpmn:incoming>Flow_17phpch</bpmn:incoming>
|
||
</bpmn:exclusiveGateway>
|
||
<bpmn:sequenceFlow id="Flow_17phpch" sourceRef="Gateway_16vfhsc" targetRef="Gateway_0w2bxp6" />
|
||
</bpmn:subProcess>
|
||
<bpmn:sequenceFlow id="Flow_1o2zto4" sourceRef="Activity_09h0c2e" targetRef="Gateway_1ctvscx" />
|
||
<bpmn:sequenceFlow id="Flow_05g9ujw" name="Продолжить" sourceRef="Gateway_0u5hxx6" targetRef="Activity_00n11t5" />
|
||
<bpmn:subProcess id="Activity_00n11t5" name="Запрос к внешним источникам">
|
||
<bpmn:incoming>Flow_05g9ujw</bpmn:incoming>
|
||
<bpmn:outgoing>Flow_10tcg94</bpmn:outgoing>
|
||
</bpmn:subProcess>
|
||
<bpmn:subProcess id="Activity_1gvzl8m" name="Расчёт показателей">
|
||
<bpmn:documentation>Расчёт финансовых коэффициентов,
|
||
запись в модель проверки</bpmn:documentation>
|
||
<bpmn:incoming>Flow_10tcg94</bpmn:incoming>
|
||
</bpmn:subProcess>
|
||
<bpmn:sequenceFlow id="Flow_10tcg94" sourceRef="Activity_00n11t5" targetRef="Activity_1gvzl8m" />
|
||
</bpmn:process>
|
||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_duedil_mttumse">
|
||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_10gvvdg_di" bpmnElement="Activity_0qpzdpu">
|
||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Event_1abflss_di" bpmnElement="Event_1abflss">
|
||
<dc:Bounds x="179" y="362" width="36" height="36" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_0j4rfx0_di" bpmnElement="Activity_16294ps">
|
||
<dc:Bounds x="270" y="340" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_1yotxul_di" bpmnElement="Activity_0jnehcy">
|
||
<dc:Bounds x="430" y="340" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Gateway_0u5hxx6_di" bpmnElement="Gateway_0u5hxx6" isMarkerVisible="true">
|
||
<dc:Bounds x="605" y="355" width="50" height="50" />
|
||
<bpmndi:BPMNLabel>
|
||
<dc:Bounds x="588" y="412" width="85" height="27" />
|
||
</bpmndi:BPMNLabel>
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||
<dc:Bounds x="1312" y="159" width="36" height="36" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Gateway_1ctvscx_di" bpmnElement="Gateway_1ctvscx" isMarkerVisible="true">
|
||
<dc:Bounds x="715" y="152" width="50" height="50" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_0ntab8t_di" bpmnElement="Activity_1wfr4px">
|
||
<dc:Bounds x="690" y="0" width="100" height="80" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_092kwjo_di" bpmnElement="Activity_09h0c2e" isExpanded="false">
|
||
<dc:Bounds x="470" y="137" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_0lwpk36_di" bpmnElement="Activity_00n11t5">
|
||
<dc:Bounds x="830" y="340" width="100" height="80" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_148iu1h_di" bpmnElement="Activity_1gvzl8m">
|
||
<dc:Bounds x="1020" y="340" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</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="470" y="177" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_0sdnnjh_di" bpmnElement="Flow_0sdnnjh">
|
||
<di:waypoint x="765" y="177" />
|
||
<di:waypoint x="1312" y="177" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_0ljkgzq_di" bpmnElement="Flow_0ljkgzq">
|
||
<di:waypoint x="215" y="380" />
|
||
<di:waypoint x="270" y="380" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_0531lbs_di" bpmnElement="Flow_0531lbs">
|
||
<di:waypoint x="740" y="152" />
|
||
<di:waypoint x="740" y="80" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_1wfhppn_di" bpmnElement="Flow_1wfhppn">
|
||
<di:waypoint x="370" y="380" />
|
||
<di:waypoint x="430" y="380" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_018xi78_di" bpmnElement="Flow_018xi78">
|
||
<di:waypoint x="530" y="380" />
|
||
<di:waypoint x="605" y="380" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_1o2zto4_di" bpmnElement="Flow_1o2zto4">
|
||
<di:waypoint x="570" y="177" />
|
||
<di:waypoint x="715" y="177" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_05g9ujw_di" bpmnElement="Flow_05g9ujw">
|
||
<di:waypoint x="655" y="380" />
|
||
<di:waypoint x="830" y="380" />
|
||
<bpmndi:BPMNLabel>
|
||
<dc:Bounds x="711" y="362" width="64" height="14" />
|
||
</bpmndi:BPMNLabel>
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_10tcg94_di" bpmnElement="Flow_10tcg94">
|
||
<di:waypoint x="930" y="380" />
|
||
<di:waypoint x="1020" y="380" />
|
||
</bpmndi:BPMNEdge>
|
||
</bpmndi:BPMNPlane>
|
||
</bpmndi:BPMNDiagram>
|
||
<bpmndi:BPMNDiagram id="BPMNDiagram_1fdfcfq">
|
||
<bpmndi:BPMNPlane id="BPMNPlane_0hlzyz6" bpmnElement="Activity_09h0c2e">
|
||
<bpmndi:BPMNShape id="Event_14x8qnu_di" bpmnElement="Event_14x8qnu">
|
||
<dc:Bounds x="180" y="292" width="36" height="36" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Gateway_1n3f3si_di" bpmnElement="Gateway_10v40wy">
|
||
<dc:Bounds x="263" y="285" width="50" height="50" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Activity_1wjbrzv_di" bpmnElement="Activity_1n2dan7">
|
||
<dc:Bounds x="398" y="160" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="BPMNShape_0ukt7uf" bpmnElement="Activity_1lzy634">
|
||
<dc:Bounds x="398" y="270" width="100" height="80" />
|
||
<bpmndi:BPMNLabel />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="BPMNShape_0kc3knc" bpmnElement="Gateway_16vfhsc">
|
||
<dc:Bounds x="573" y="285" width="50" height="50" />
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNShape id="Gateway_0w2bxp6_di" bpmnElement="Gateway_0w2bxp6" isMarkerVisible="true">
|
||
<dc:Bounds x="673" y="285" width="50" height="50" />
|
||
<bpmndi:BPMNLabel>
|
||
<dc:Bounds x="662" y="342" width="73" height="14" />
|
||
</bpmndi:BPMNLabel>
|
||
</bpmndi:BPMNShape>
|
||
<bpmndi:BPMNEdge id="Flow_0htpukj_di" bpmnElement="Flow_0htpukj">
|
||
<di:waypoint x="216" y="310" />
|
||
<di:waypoint x="263" y="310" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_0p77oda_di" bpmnElement="Flow_0p77oda">
|
||
<di:waypoint x="288" y="285" />
|
||
<di:waypoint x="288" y="200" />
|
||
<di:waypoint x="398" y="200" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_0v582z2_di" bpmnElement="Flow_0v582z2">
|
||
<di:waypoint x="313" y="310" />
|
||
<di:waypoint x="398" y="310" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_05yo3p2_di" bpmnElement="Flow_05yo3p2">
|
||
<di:waypoint x="498" y="200" />
|
||
<di:waypoint x="598" y="200" />
|
||
<di:waypoint x="598" y="285" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_1u9cm6m_di" bpmnElement="Flow_1u9cm6m">
|
||
<di:waypoint x="498" y="310" />
|
||
<di:waypoint x="573" y="310" />
|
||
</bpmndi:BPMNEdge>
|
||
<bpmndi:BPMNEdge id="Flow_17phpch_di" bpmnElement="Flow_17phpch">
|
||
<di:waypoint x="623" y="310" />
|
||
<di:waypoint x="673" y="310" />
|
||
</bpmndi:BPMNEdge>
|
||
</bpmndi:BPMNPlane>
|
||
</bpmndi:BPMNDiagram>
|
||
<bpmndi:BPMNDiagram id="BPMNDiagram_19baip2">
|
||
<bpmndi:BPMNPlane id="BPMNPlane_057f47j" bpmnElement="Activity_00n11t5" />
|
||
</bpmndi:BPMNDiagram>
|
||
<bpmndi:BPMNDiagram id="BPMNDiagram_0njtg9m">
|
||
<bpmndi:BPMNPlane id="BPMNPlane_0ja3v35" bpmnElement="Activity_1gvzl8m" />
|
||
</bpmndi:BPMNDiagram>
|
||
</bpmn:definitions>
|