This commit is contained in:
ilyin 2024-07-18 18:32:39 +03:00
parent f29735d460
commit a36c14678f
5 changed files with 557 additions and 1 deletions

View file

@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xmlPage>
<id>8ecf306d-370d-4e44-86f9-18daa13a2118</id>
<versions>
<studioVersion>3.172.7</studioVersion>
<packageVersions>
<entry>
<key>ru.cg.webbpm.packages.base.resources</key>
<value>3.175.0</value>
</entry>
</packageVersions>
</versions>
<rootObjects id="15508c49-88e3-4143-a398-cbfaedc4a59f">
<prototypeId>56d5ae60-a4b3-4f98-947b-6654cb4d400b</prototypeId>
<componentRootId>15508c49-88e3-4143-a398-cbfaedc4a59f</componentRootId>
<name>Tab container</name>
<container>true</container>
<childrenReordered>false</childrenReordered>
<scripts id="1c20b23e-f269-42ff-aa6f-ec2e7ff152cf"/>
<scripts id="aba9b3cf-fe50-4149-84cd-ff7b6ed4e99d"/>
<scripts id="485d00da-8d34-434e-8117-bbb670adc7b9"/>
<scripts id="b7106a0f-f14e-466c-87c8-59692aadfb67"/>
<scripts id="1a44f4c3-1540-4b1e-8b94-9ec371cebd7a"/>
<children id="6bcec242-d2fe-4832-8e54-1016c92d2f68">
<prototypeId>84b784bf-7bec-42f5-bbb7-8a465de45019</prototypeId>
<componentRootId>6bcec242-d2fe-4832-8e54-1016c92d2f68</componentRootId>
<name>Разблокировка</name>
<container>true</container>
<childrenReordered>false</childrenReordered>
<scripts id="d1ce20ca-453b-4610-a2a5-bb6498db5cf5">
<properties>
<entry>
<key>heading</key>
<value>
<simple>"Разблокировка"</simple>
</value>
</entry>
</properties>
</scripts>
<scripts id="e149fe87-788e-4d2f-8d3b-02abfaf052da"/>
<scripts id="98b064c8-1d68-432b-a99b-f8868d987e43"/>
<scripts id="0f6c4754-b38d-4ecf-b9b6-556168286ae6"/>
<scripts id="540780ae-3c57-4c6b-86d3-22e52cefd63f"/>
<children id="a18f6614-fec4-4567-926d-984d38ac4db4">
<prototypeId>133ca212-09a6-413a-ac66-e2f6ce188f1f</prototypeId>
<componentRootId>a18f6614-fec4-4567-926d-984d38ac4db4</componentRootId>
<name>ArrayList</name>
<container>false</container>
<childrenReordered>false</childrenReordered>
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c"/>
<scripts id="5ba072f6-3017-4f32-9a6a-1ca5e690e1dd"/>
<scripts id="ef53357a-6f68-4479-9a05-d37cfb44b6ba"/>
<scripts id="2e66508a-de36-4816-b32c-18f8c7c39830"/>
<scripts id="cd632c24-f994-46fd-a0fd-3d113f9c81c1">
<enabled>false</enabled>
</scripts>
<scripts id="d9ac3145-9d66-42bd-9f24-1c3d0d2e31d0"/>
<scripts id="ec0ff7d7-8c1d-4258-b142-229cd6936339">
<classRef type="TS">
<className>SaveValueToVariable</className>
<packageName>modules.bpmn.script</packageName>
</classRef>
<enabled>true</enabled>
<expanded>true</expanded>
<properties>
<entry>
<key>variable</key>
<value>
<simple>"unlock_ids"</simple>
</value>
</entry>
</properties>
</scripts>
</children>
<children id="ee993c74-7b63-4c3d-b2da-2bf296d8d8fd">
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
<componentRootId>ee993c74-7b63-4c3d-b2da-2bf296d8d8fd</componentRootId>
<name>Разблокировка</name>
<container>false</container>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
<entry>
<key>caption</key>
<value>
<simple>"Разблокировка"</simple>
</value>
</entry>
<entry>
<key>navigateTo</key>
<value>
<simple>"unlock"</simple>
</value>
</entry>
</properties>
</scripts>
</children>
</children>
<children id="a18f6614-fec4-4567-926d-984d38ac4db4">
<prototypeId>133ca212-09a6-413a-ac66-e2f6ce188f1f</prototypeId>
<componentRootId>a18f6614-fec4-4567-926d-984d38ac4db4</componentRootId>
<name>Text field</name>
<container>false</container>
<removed>true</removed>
</children>
<children id="62666192-d5b8-4c04-a487-10285ceb39d1">
<prototypeId>84b784bf-7bec-42f5-bbb7-8a465de45019</prototypeId>
<componentRootId>62666192-d5b8-4c04-a487-10285ceb39d1</componentRootId>
<name>Блокировка</name>
<container>true</container>
<childrenReordered>false</childrenReordered>
<scripts id="d1ce20ca-453b-4610-a2a5-bb6498db5cf5">
<properties>
<entry>
<key>heading</key>
<value>
<simple>"Блокировка"</simple>
</value>
</entry>
</properties>
</scripts>
<scripts id="e149fe87-788e-4d2f-8d3b-02abfaf052da"/>
<scripts id="98b064c8-1d68-432b-a99b-f8868d987e43"/>
<scripts id="0f6c4754-b38d-4ecf-b9b6-556168286ae6"/>
<scripts id="540780ae-3c57-4c6b-86d3-22e52cefd63f"/>
</children>
</rootObjects>
<rootObjects id="b79d8cf3-f367-4641-8fa2-baddf5f2dfa2">
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
<componentRootId>b79d8cf3-f367-4641-8fa2-baddf5f2dfa2</componentRootId>
<name>Выход</name>
<container>false</container>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
<entry>
<key>caption</key>
<value>
<simple>"Выход"</simple>
</value>
</entry>
<entry>
<key>navigateTo</key>
<value>
<simple>"exit"</simple>
</value>
</entry>
</properties>
</scripts>
</rootObjects>
</xmlPage>

View file

@ -0,0 +1,280 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_NnyAkEUaEe-G3Lgy5lVFng" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" exporter="jBPM Designer" exporterVersion="6.2.0" targetNamespace="http://www.omg.org/bpmn20">
<bpmn2:itemDefinition id="_navigationItem" structureRef="String"/>
<bpmn2:itemDefinition id="_unlock_idsItem" structureRef="java.util.ArrayList"/>
<bpmn2:process id="_8b788e75-0f84-4511-8517-d9f24e29556d" drools:packageName="org.jbpm" drools:version="1.0" name="main_process" isExecutable="true">
<bpmn2:property id="navigation" itemSubjectRef="_navigationItem"/>
<bpmn2:property id="unlock_ids" itemSubjectRef="_unlock_idsItem"/>
<bpmn2:startEvent id="_6e2bb66f-b356-4b86-a03b-532ed04b3852" drools:bgcolor="#9acd32" drools:selectable="true" name="">
<bpmn2:outgoing>_8950F9F9-76D1-4895-A75E-956C9F382F99</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:userTask id="_A013FE37-A99A-4114-B4B8-1D98127751E6" drools:selectable="true" drools:scriptFormat="http://www.java.com/java" name="main_page">
<bpmn2:incoming>_4CC4190B-A0CD-46EA-A9FE-12741BCC1238</bpmn2:incoming>
<bpmn2:outgoing>_E59077C9-1732-4AA5-8ADC-AA3CA4602AF1</bpmn2:outgoing>
<bpmn2:ioSpecification id="_NnyAkUUaEe-G3Lgy5lVFng">
<bpmn2:dataInput id="_A013FE37-A99A-4114-B4B8-1D98127751E6_TaskNameInputX" name="TaskName"/>
<bpmn2:dataInput id="_A013FE37-A99A-4114-B4B8-1D98127751E6_GroupIdInputX" name="GroupId"/>
<bpmn2:dataInput id="_A013FE37-A99A-4114-B4B8-1D98127751E6_SkippableInputX" name="Skippable"/>
<bpmn2:inputSet id="_NnyAkkUaEe-G3Lgy5lVFng">
<bpmn2:dataInputRefs>_A013FE37-A99A-4114-B4B8-1D98127751E6_GroupIdInputX</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_A013FE37-A99A-4114-B4B8-1D98127751E6_SkippableInputX</bpmn2:dataInputRefs>
</bpmn2:inputSet>
<bpmn2:outputSet id="_NnyAk0UaEe-G3Lgy5lVFng"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_NnyAlEUaEe-G3Lgy5lVFng">
<bpmn2:targetRef>_A013FE37-A99A-4114-B4B8-1D98127751E6_TaskNameInputX</bpmn2:targetRef>
<bpmn2:assignment id="_NnyAlUUaEe-G3Lgy5lVFng">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_NnyAlkUaEe-G3Lgy5lVFng">main_page</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_NnyAl0UaEe-G3Lgy5lVFng">_A013FE37-A99A-4114-B4B8-1D98127751E6_TaskNameInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_NnyAmEUaEe-G3Lgy5lVFng">
<bpmn2:targetRef>_A013FE37-A99A-4114-B4B8-1D98127751E6_GroupIdInputX</bpmn2:targetRef>
<bpmn2:assignment id="_NnyAmUUaEe-G3Lgy5lVFng">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_NnyAmkUaEe-G3Lgy5lVFng"><![CDATA[Administrator]]></bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_NnyAm0UaEe-G3Lgy5lVFng">_A013FE37-A99A-4114-B4B8-1D98127751E6_GroupIdInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_NnyAnEUaEe-G3Lgy5lVFng">
<bpmn2:targetRef>_A013FE37-A99A-4114-B4B8-1D98127751E6_SkippableInputX</bpmn2:targetRef>
<bpmn2:assignment id="_NnyAnUUaEe-G3Lgy5lVFng">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_NnyAnkUaEe-G3Lgy5lVFng">true</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_NnyAn0UaEe-G3Lgy5lVFng">_A013FE37-A99A-4114-B4B8-1D98127751E6_SkippableInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:userTask>
<bpmn2:sequenceFlow id="_8950F9F9-76D1-4895-A75E-956C9F382F99" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_6e2bb66f-b356-4b86-a03b-532ed04b3852" targetRef="_60F677BA-150B-4F78-B526-DECAC152186F"/>
<bpmn2:exclusiveGateway id="_A965AE2D-8125-465E-BC01-B46C9CD0883C" drools:bgcolor="#f0e68c" drools:selectable="true" drools:bordercolor="#a67f00" drools:dg="" name="" gatewayDirection="Diverging">
<bpmn2:incoming>_E59077C9-1732-4AA5-8ADC-AA3CA4602AF1</bpmn2:incoming>
<bpmn2:outgoing>_B1923E58-CB3E-41CD-B13C-AEBFA6280C39</bpmn2:outgoing>
<bpmn2:outgoing>_CE023794-964A-4CF0-B2BC-C440E46E0505</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="_E59077C9-1732-4AA5-8ADC-AA3CA4602AF1" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_A013FE37-A99A-4114-B4B8-1D98127751E6" targetRef="_A965AE2D-8125-465E-BC01-B46C9CD0883C"/>
<bpmn2:endEvent id="_FBAE0770-9AE3-4284-99D3-9EDEA019971C" drools:bgcolor="#ff6347" drools:selectable="true" name="">
<bpmn2:incoming>_B1923E58-CB3E-41CD-B13C-AEBFA6280C39</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="_B1923E58-CB3E-41CD-B13C-AEBFA6280C39" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_A965AE2D-8125-465E-BC01-B46C9CD0883C" targetRef="_FBAE0770-9AE3-4284-99D3-9EDEA019971C">
<bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_NnyAoEUaEe-G3Lgy5lVFng" language="http://www.java.com/java"><![CDATA[return KieFunctions.equalsTo(navigation, "exit");]]></bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:task id="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA" drools:selectable="true" drools:taskName="WebBPMTask" name="unlock_13">
<bpmn2:incoming>_CE023794-964A-4CF0-B2BC-C440E46E0505</bpmn2:incoming>
<bpmn2:outgoing>_A2FD7D24-1466-4252-9DA1-3C9B3FB35DE6</bpmn2:outgoing>
<bpmn2:ioSpecification id="_NnyAoUUaEe-G3Lgy5lVFng">
<bpmn2:dataInput id="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA_TaskNameInputX" name="TaskName"/>
<bpmn2:inputSet id="_NnyAokUaEe-G3Lgy5lVFng"/>
<bpmn2:outputSet id="_NnyAo0UaEe-G3Lgy5lVFng"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_NnyApEUaEe-G3Lgy5lVFng">
<bpmn2:targetRef>_081ED5EC-2AAE-48A5-AD60-79D347DA46FA_TaskNameInputX</bpmn2:targetRef>
<bpmn2:assignment id="_NnyApUUaEe-G3Lgy5lVFng">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_NnyApkUaEe-G3Lgy5lVFng">WebBPMTask</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_NnyAp0UaEe-G3Lgy5lVFng">_081ED5EC-2AAE-48A5-AD60-79D347DA46FA_TaskNameInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:task>
<bpmn2:sequenceFlow id="_CE023794-964A-4CF0-B2BC-C440E46E0505" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_A965AE2D-8125-465E-BC01-B46C9CD0883C" targetRef="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA">
<bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_NnyAqEUaEe-G3Lgy5lVFng" language="http://www.java.com/java"><![CDATA[return KieFunctions.equalsTo(navigation, "unlock");]]></bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:exclusiveGateway id="_60F677BA-150B-4F78-B526-DECAC152186F" drools:bgcolor="#f0e68c" drools:selectable="true" drools:bordercolor="#a67f00" drools:dg="" name="" gatewayDirection="Converging">
<bpmn2:incoming>_A2FD7D24-1466-4252-9DA1-3C9B3FB35DE6</bpmn2:incoming>
<bpmn2:incoming>_8950F9F9-76D1-4895-A75E-956C9F382F99</bpmn2:incoming>
<bpmn2:outgoing>_A340E1A9-F3DE-4C98-B0A6-2D02F45AF72F</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="_A2FD7D24-1466-4252-9DA1-3C9B3FB35DE6" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA" targetRef="_60F677BA-150B-4F78-B526-DECAC152186F"/>
<bpmn2:task id="_3DB2FFF6-52EC-4F8D-932C-D326A0192218" drools:selectable="true" drools:taskName="WebBPMTask" name="clear">
<bpmn2:incoming>_A340E1A9-F3DE-4C98-B0A6-2D02F45AF72F</bpmn2:incoming>
<bpmn2:outgoing>_4CC4190B-A0CD-46EA-A9FE-12741BCC1238</bpmn2:outgoing>
<bpmn2:ioSpecification id="_NnyAqUUaEe-G3Lgy5lVFng">
<bpmn2:dataInput id="_3DB2FFF6-52EC-4F8D-932C-D326A0192218_TaskNameInputX" name="TaskName"/>
<bpmn2:inputSet id="_NnyAqkUaEe-G3Lgy5lVFng"/>
<bpmn2:outputSet id="_NnyAq0UaEe-G3Lgy5lVFng"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_NnyArEUaEe-G3Lgy5lVFng">
<bpmn2:targetRef>_3DB2FFF6-52EC-4F8D-932C-D326A0192218_TaskNameInputX</bpmn2:targetRef>
<bpmn2:assignment id="_NnyArUUaEe-G3Lgy5lVFng">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_NnyArkUaEe-G3Lgy5lVFng">WebBPMTask</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_NnyAr0UaEe-G3Lgy5lVFng">_3DB2FFF6-52EC-4F8D-932C-D326A0192218_TaskNameInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:task>
<bpmn2:sequenceFlow id="_A340E1A9-F3DE-4C98-B0A6-2D02F45AF72F" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_60F677BA-150B-4F78-B526-DECAC152186F" targetRef="_3DB2FFF6-52EC-4F8D-932C-D326A0192218"/>
<bpmn2:sequenceFlow id="_4CC4190B-A0CD-46EA-A9FE-12741BCC1238" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_3DB2FFF6-52EC-4F8D-932C-D326A0192218" targetRef="_A013FE37-A99A-4114-B4B8-1D98127751E6"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="_NnyAsEUaEe-G3Lgy5lVFng">
<bpmndi:BPMNPlane id="_NnyAsUUaEe-G3Lgy5lVFng" bpmnElement="_8b788e75-0f84-4511-8517-d9f24e29556d">
<bpmndi:BPMNShape id="_NnyAskUaEe-G3Lgy5lVFng" bpmnElement="_6e2bb66f-b356-4b86-a03b-532ed04b3852">
<dc:Bounds height="30.0" width="30.0" x="377.0" y="90.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_NnyAs0UaEe-G3Lgy5lVFng" bpmnElement="_A013FE37-A99A-4114-B4B8-1D98127751E6">
<dc:Bounds height="40.0" width="140.0" x="322.0" y="330.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAtEUaEe-G3Lgy5lVFng" bpmnElement="_8950F9F9-76D1-4895-A75E-956C9F382F99">
<di:waypoint xsi:type="dc:Point" x="392.0" y="105.0"/>
<di:waypoint xsi:type="dc:Point" x="392.0" y="170.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_NnyAtUUaEe-G3Lgy5lVFng" bpmnElement="_A965AE2D-8125-465E-BC01-B46C9CD0883C">
<dc:Bounds height="40.0" width="40.0" x="372.0" y="420.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAtkUaEe-G3Lgy5lVFng" bpmnElement="_E59077C9-1732-4AA5-8ADC-AA3CA4602AF1">
<di:waypoint xsi:type="dc:Point" x="392.0" y="350.0"/>
<di:waypoint xsi:type="dc:Point" x="392.0" y="440.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_NnyAt0UaEe-G3Lgy5lVFng" bpmnElement="_FBAE0770-9AE3-4284-99D3-9EDEA019971C">
<dc:Bounds height="28.0" width="28.0" x="632.0" y="426.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAuEUaEe-G3Lgy5lVFng" bpmnElement="_B1923E58-CB3E-41CD-B13C-AEBFA6280C39">
<di:waypoint xsi:type="dc:Point" x="392.0" y="440.0"/>
<di:waypoint xsi:type="dc:Point" x="646.0" y="440.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_NnyAuUUaEe-G3Lgy5lVFng" bpmnElement="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA">
<dc:Bounds height="40.0" width="123.0" x="120.0" y="420.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAukUaEe-G3Lgy5lVFng" bpmnElement="_CE023794-964A-4CF0-B2BC-C440E46E0505">
<di:waypoint xsi:type="dc:Point" x="392.0" y="440.0"/>
<di:waypoint xsi:type="dc:Point" x="181.5" y="440.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_NnyAu0UaEe-G3Lgy5lVFng" bpmnElement="_60F677BA-150B-4F78-B526-DECAC152186F">
<dc:Bounds height="40.0" width="40.0" x="372.0" y="150.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAvEUaEe-G3Lgy5lVFng" bpmnElement="_A2FD7D24-1466-4252-9DA1-3C9B3FB35DE6">
<di:waypoint xsi:type="dc:Point" x="181.5" y="440.0"/>
<di:waypoint xsi:type="dc:Point" x="181.0" y="170.0"/>
<di:waypoint xsi:type="dc:Point" x="392.0" y="170.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_NnyAvUUaEe-G3Lgy5lVFng" bpmnElement="_3DB2FFF6-52EC-4F8D-932C-D326A0192218">
<dc:Bounds height="40.0" width="123.0" x="330.0" y="240.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="_NnyAvkUaEe-G3Lgy5lVFng" bpmnElement="_A340E1A9-F3DE-4C98-B0A6-2D02F45AF72F">
<di:waypoint xsi:type="dc:Point" x="392.0" y="170.0"/>
<di:waypoint xsi:type="dc:Point" x="391.5" y="260.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="_NnyAv0UaEe-G3Lgy5lVFng" bpmnElement="_4CC4190B-A0CD-46EA-A9FE-12741BCC1238">
<di:waypoint xsi:type="dc:Point" x="391.5" y="260.0"/>
<di:waypoint xsi:type="dc:Point" x="392.0" y="350.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmn2:relationship id="_NnyAwEUaEe-G3Lgy5lVFng" type="BPSimData">
<bpmn2:extensionElements>
<bpsim:BPSimData>
<bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario">
<bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters" baseTimeUnit="min"/>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_081ED5EC-2AAE-48A5-AD60-79D347DA46FA" id="_NnyAwUUaEe-G3Lgy5lVFng">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:UniformDistribution max="10.0" min="5.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:CostParameters xsi:type="bpsim:CostParameters">
<bpsim:UnitCost xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_E59077C9-1732-4AA5-8ADC-AA3CA4602AF1" id="_NnyAwkUaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_4CC4190B-A0CD-46EA-A9FE-12741BCC1238" id="_NnyAw0UaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_A2FD7D24-1466-4252-9DA1-3C9B3FB35DE6" id="_NnyAxEUaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_3DB2FFF6-52EC-4F8D-932C-D326A0192218" id="_NnyAxUUaEe-G3Lgy5lVFng">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:UniformDistribution max="10.0" min="5.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:CostParameters xsi:type="bpsim:CostParameters">
<bpsim:UnitCost xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_8950F9F9-76D1-4895-A75E-956C9F382F99" id="_NnyAxkUaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_A340E1A9-F3DE-4C98-B0A6-2D02F45AF72F" id="_NnyAx0UaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_A013FE37-A99A-4114-B4B8-1D98127751E6" id="_NnyAyEUaEe-G3Lgy5lVFng">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:UniformDistribution max="10.0" min="5.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters">
<bpsim:Availability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="8.0"/>
</bpsim:Availability>
<bpsim:Quantity xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="1.0"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
<bpsim:CostParameters xsi:type="bpsim:CostParameters">
<bpsim:UnitCost xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_B1923E58-CB3E-41CD-B13C-AEBFA6280C39" id="_NnyAyUUaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="10.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_6e2bb66f-b356-4b86-a03b-532ed04b3852" id="_NnyAykUaEe-G3Lgy5lVFng">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:UniformDistribution max="10.0" min="5.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="100.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_FBAE0770-9AE3-4284-99D3-9EDEA019971C" id="_NnyAy0UaEe-G3Lgy5lVFng">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:UniformDistribution max="10.0" min="5.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_CE023794-964A-4CF0-B2BC-C440E46E0505" id="_NnyAzEUaEe-G3Lgy5lVFng">
<bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
<bpsim:Probability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="10.0"/>
</bpsim:Probability>
</bpsim:ControlParameters>
</bpsim:ElementParameters>
</bpsim:Scenario>
</bpsim:BPSimData>
</bpmn2:extensionElements>
<bpmn2:source>_NnyAkEUaEe-G3Lgy5lVFng</bpmn2:source>
<bpmn2:target>_NnyAkEUaEe-G3Lgy5lVFng</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>

View file

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<webbpmProcess>
<id>_8b788e75-0f84-4511-8517-d9f24e29556d</id>
<versions>
<studioVersion>3.172.7</studioVersion>
<packageVersions>
<entry>
<key>ru.cg.webbpm.packages.base.resources</key>
<value>3.175.0</value>
</entry>
</packageVersions>
</versions>
<startRoles>Administrator</startRoles>
<tasks>
<userTasks>
<id>_A013FE37-A99A-4114-B4B8-1D98127751E6</id>
<pageId>8ecf306d-370d-4e44-86f9-18daa13a2118</pageId>
</userTasks>
<webbpmTaskHandlers>
<id>_3DB2FFF6-52EC-4F8D-932C-D326A0192218</id>
<value id="e7661a22-26f1-4160-92d9-8e1c52aae1b3">
<classRef type="JAVA">
<className>SetVariableHandler</className>
<packageName>bpmn.handler.variable_handler</packageName>
</classRef>
<enabled>true</enabled>
<properties>
<entry>
<key>mapping</key>
<value>
<item id="c4eb64e9-ab19-4292-8eea-6ff165df2921" removed="false">
<value>
<complex>
<entry>
<key>value</key>
<value>
<simple>null</simple>
</value>
</entry>
<entry>
<key>variable</key>
<value>
<simple>"navigation"</simple>
</value>
</entry>
</complex>
</value>
</item>
<item id="101aacb2-8c91-4bea-9941-722300d92424" removed="true"/>
<item id="354d4795-4af0-4d08-b36e-be583fa4340f" removed="true"/>
</value>
</entry>
</properties>
</value>
</webbpmTaskHandlers>
<webbpmTaskHandlers>
<id>_081ED5EC-2AAE-48A5-AD60-79D347DA46FA</id>
<value id="b4004edf-461f-42a4-a740-ed1b0593142a">
<classRef type="JAVA">
<className>ListSqlHandler</className>
<packageName>bpmn.handler.sql_handler</packageName>
</classRef>
<enabled>true</enabled>
<properties>
<entry>
<key>datasourceJndiName</key>
<value>
<simple>null</simple>
</value>
</entry>
<entry>
<key>parameterVariables</key>
<value>
<item id="40fe9409-e06a-480c-9519-a4fa733d0e16" removed="false">
<value>
<simple>"unlock_ids"</simple>
</value>
</item>
</value>
</entry>
<entry>
<key>sql</key>
<value>
<simple>"update recruits\nset current_recruitment_id \u003d nullif(trim (both \u0027\"\u0027 from (extra_info-\u003e\u0027blocked\u0027-\u003e\u0027cur\u0027)::text),\u0027null\u0027)::uuid\n\t,target_recruitment_id \u003d nullif(trim (both \u0027\"\u0027 from (extra_info-\u003e\u0027blocked\u0027-\u003e\u0027trg\u0027)::text),\u0027null\u0027)::uuid\n\t,department_id_old \u003d nullif(trim (both \u0027\"\u0027 from (extra_info-\u003e\u0027blocked\u0027-\u003e\u0027dio\u0027)::text),\u0027null\u0027)::uuid\n\t,system_pgs_status \u003d trim (both \u0027\"\u0027 from (extra_info-\u003e\u0027blocked\u0027-\u003e\u0027st\u0027)::text)\n\t,extra_info \u003djsonb_strip_nulls(jsonb_set(extra_info, \u0027{blocked}\u0027,\u0027null\u0027))\nwhere id \u003d any (?);"</simple>
</value>
</entry>
</properties>
</value>
</webbpmTaskHandlers>
</tasks>
<adhocSubProcesses/>
</webbpmProcess>

View file

@ -1,2 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:roles xmlns:ns2="http://cg.ru/web-bpm/bpm-role"/> <ns2:roles xmlns:ns2="http://cg.ru/web-bpm/bpm-role">
<role>
<name>Administrator</name>
</role>
</ns2:roles>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 40 KiB