add 测试流程 流程图

This commit is contained in:
lijiarao
2024-06-14 17:56:58 +08:00
parent e7899b32a0
commit 7b5ee59def
3 changed files with 282 additions and 0 deletions
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" 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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<bpmn:process id="demo_main" isExecutable="true">
<bpmn:userTask id="bszgjldxf_1" name="主解读人分批下发" activiti:assignee="${mainInterpreter}">
<bpmn:incoming>Flow_1g6zc95</bpmn:incoming>
<bpmn:incoming>Flow_0m3rvt8</bpmn:incoming>
<bpmn:outgoing>Flow_06h9ihd</bpmn:outgoing>
</bpmn:userTask>
<bpmn:startEvent id="Event_087v97x">
<bpmn:outgoing>Flow_1g6zc95</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1g6zc95" sourceRef="Event_087v97x" targetRef="bszgjldxf_1" />
<bpmn:sequenceFlow id="Flow_06h9ihd" sourceRef="bszgjldxf_1" targetRef="Gateway_16tlx8e" />
<bpmn:inclusiveGateway id="Gateway_16tlx8e">
<bpmn:incoming>Flow_06h9ihd</bpmn:incoming>
<bpmn:outgoing>Flow_0m3rvt8</bpmn:outgoing>
<bpmn:outgoing>Flow_0y71vm8</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:sequenceFlow id="Flow_0m3rvt8" name="未分配数量大于0" sourceRef="Gateway_16tlx8e" targetRef="bszgjldxf_1">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${unallocatedQuantity &gt; 0}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:inclusiveGateway id="Gateway_16gkwe2">
<bpmn:incoming>Flow_0wenf4n</bpmn:incoming>
<bpmn:outgoing>Flow_0aofle0</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:sequenceFlow id="Flow_0aofle0" sourceRef="Gateway_16gkwe2" targetRef="hz" />
<bpmn:endEvent id="Event_1qezy8k">
<bpmn:incoming>Flow_04r2zel</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_04r2zel" sourceRef="hz" targetRef="Event_1qezy8k" />
<bpmn:userTask id="hz" name="主解读人汇总" activiti:assignee="${mainInterpreter}">
<bpmn:incoming>Flow_0aofle0</bpmn:incoming>
<bpmn:outgoing>Flow_04r2zel</bpmn:outgoing>
</bpmn:userTask>
<bpmn:task id="autoTask" name="自动处理任务">
<bpmn:incoming>Flow_0y71vm8</bpmn:incoming>
<bpmn:outgoing>Flow_0wenf4n</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_0y71vm8" sourceRef="Gateway_16tlx8e" targetRef="autoTask" />
<bpmn:sequenceFlow id="Flow_0wenf4n" sourceRef="autoTask" targetRef="Gateway_16gkwe2" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo_main">
<bpmndi:BPMNShape id="BPMNShape_12sl6br" bpmnElement="Event_087v97x">
<dc:Bounds x="158" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_183drsv_di" bpmnElement="Gateway_16tlx8e">
<dc:Bounds x="405" y="175" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_046cr29_di" bpmnElement="autoTask">
<dc:Bounds x="530" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0x09ket_di" bpmnElement="bszgjldxf_1">
<dc:Bounds x="250" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1uxo9oh_di" bpmnElement="hz">
<dc:Bounds x="830" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qezy8k_di" bpmnElement="Event_1qezy8k">
<dc:Bounds x="1032" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1rveos3_di" bpmnElement="Gateway_16gkwe2">
<dc:Bounds x="715" y="175" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1g6zc95_di" bpmnElement="Flow_1g6zc95">
<di:waypoint x="194" y="200" />
<di:waypoint x="250" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06h9ihd_di" bpmnElement="Flow_06h9ihd">
<di:waypoint x="350" y="200" />
<di:waypoint x="405" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0m3rvt8_di" bpmnElement="Flow_0m3rvt8">
<di:waypoint x="430" y="175" />
<di:waypoint x="430" y="100" />
<di:waypoint x="300" y="100" />
<di:waypoint x="300" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="324" y="82" width="83" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0aofle0_di" bpmnElement="Flow_0aofle0">
<di:waypoint x="765" y="200" />
<di:waypoint x="830" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04r2zel_di" bpmnElement="Flow_04r2zel">
<di:waypoint x="930" y="200" />
<di:waypoint x="1032" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0y71vm8_di" bpmnElement="Flow_0y71vm8">
<di:waypoint x="455" y="200" />
<di:waypoint x="530" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wenf4n_di" bpmnElement="Flow_0wenf4n">
<di:waypoint x="630" y="200" />
<di:waypoint x="715" y="200" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" 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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<bpmn:process id="demo_jdr" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0bf22p9</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="jdrtxjdxx" name="解读人填写解读信息" activiti:assignee="${interpreter}">
<bpmn:extensionElements>
<activiti:taskListener class="com.jero.modules.activiti.process.projectassess.listener.ProcessProjectAssessCreateListener" event="create" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0bf22p9</bpmn:incoming>
<bpmn:outgoing>Flow_0l0nol7</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_16oojsf">
<bpmn:incoming>Flow_14abzg6</bpmn:incoming>
<bpmn:incoming>Flow_1u81jlq</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0bf22p9" sourceRef="StartEvent_1" targetRef="jdrtxjdxx" />
<bpmn:sequenceFlow id="Flow_14abzg6" sourceRef="zjdrsh" targetRef="Event_16oojsf" />
<bpmn:exclusiveGateway id="Gateway_0i2ua7z">
<bpmn:incoming>Flow_0l0nol7</bpmn:incoming>
<bpmn:outgoing>Flow_1l70pxs</bpmn:outgoing>
<bpmn:outgoing>Flow_15yh4zu</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0l0nol7" sourceRef="jdrtxjdxx" targetRef="Gateway_0i2ua7z" />
<bpmn:sequenceFlow id="Flow_1l70pxs" sourceRef="Gateway_0i2ua7z" targetRef="zjdrsh" />
<bpmn:task id="autoTask" name="自动处理任务">
<bpmn:incoming>Flow_15yh4zu</bpmn:incoming>
<bpmn:outgoing>Flow_1u81jlq</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_15yh4zu" sourceRef="Gateway_0i2ua7z" targetRef="autoTask" />
<bpmn:sequenceFlow id="Flow_1u81jlq" sourceRef="autoTask" targetRef="Event_16oojsf" />
<bpmn:userTask id="zjdrsh" name="主解读人审核" activiti:assignee="${mainInterpreter}">
<bpmn:incoming>Flow_1l70pxs</bpmn:incoming>
<bpmn:outgoing>Flow_14abzg6</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo_jdr">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0cicnif" bpmnElement="jdrtxjdxx">
<dc:Bounds x="280" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_16oojsf_di" bpmnElement="Event_16oojsf">
<dc:Bounds x="672" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0i2ua7z_di" bpmnElement="Gateway_0i2ua7z" isMarkerVisible="true">
<dc:Bounds x="425" y="92" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_18xeyda_di" bpmnElement="autoTask">
<dc:Bounds x="520" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jo12jv_di" bpmnElement="zjdrsh">
<dc:Bounds x="520" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0bf22p9_di" bpmnElement="Flow_0bf22p9">
<di:waypoint x="215" y="117" />
<di:waypoint x="280" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0l0nol7_di" bpmnElement="Flow_0l0nol7">
<di:waypoint x="380" y="117" />
<di:waypoint x="425" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14abzg6_di" bpmnElement="Flow_14abzg6">
<di:waypoint x="620" y="117" />
<di:waypoint x="672" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1u81jlq_di" bpmnElement="Flow_1u81jlq">
<di:waypoint x="620" y="230" />
<di:waypoint x="690" y="230" />
<di:waypoint x="690" y="135" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1l70pxs_di" bpmnElement="Flow_1l70pxs">
<di:waypoint x="475" y="117" />
<di:waypoint x="520" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15yh4zu_di" bpmnElement="Flow_15yh4zu">
<di:waypoint x="450" y="142" />
<di:waypoint x="450" y="230" />
<di:waypoint x="520" y="230" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" 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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<bpmn:process id="demo_cxff" isExecutable="true">
<bpmn:userTask id="bszgjldxf_1" name="主解读人重新分批下发" activiti:assignee="${mainInterpreter}">
<bpmn:incoming>Flow_1g6zc95</bpmn:incoming>
<bpmn:incoming>Flow_0m3rvt8</bpmn:incoming>
<bpmn:outgoing>Flow_06h9ihd</bpmn:outgoing>
</bpmn:userTask>
<bpmn:startEvent id="Event_087v97x">
<bpmn:outgoing>Flow_1g6zc95</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:inclusiveGateway id="Gateway_16tlx8e">
<bpmn:incoming>Flow_06h9ihd</bpmn:incoming>
<bpmn:outgoing>Flow_0m3rvt8</bpmn:outgoing>
<bpmn:outgoing>Flow_0y71vm8</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:inclusiveGateway id="Gateway_16gkwe2">
<bpmn:incoming>Flow_0wenf4n</bpmn:incoming>
<bpmn:outgoing>Flow_0aofle0</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:endEvent id="Event_1qezy8k">
<bpmn:incoming>Flow_0aofle0</bpmn:incoming>
</bpmn:endEvent>
<bpmn:task id="autoTask" name="自动处理任务">
<bpmn:incoming>Flow_0y71vm8</bpmn:incoming>
<bpmn:outgoing>Flow_0wenf4n</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_1g6zc95" sourceRef="Event_087v97x" targetRef="bszgjldxf_1" />
<bpmn:sequenceFlow id="Flow_0m3rvt8" name="未分配数量大于0" sourceRef="Gateway_16tlx8e" targetRef="bszgjldxf_1">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${unallocatedQuantity &gt; 0}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_06h9ihd" sourceRef="bszgjldxf_1" targetRef="Gateway_16tlx8e" />
<bpmn:sequenceFlow id="Flow_0y71vm8" sourceRef="Gateway_16tlx8e" targetRef="autoTask" />
<bpmn:sequenceFlow id="Flow_0wenf4n" sourceRef="autoTask" targetRef="Gateway_16gkwe2" />
<bpmn:sequenceFlow id="Flow_0aofle0" sourceRef="Gateway_16gkwe2" targetRef="Event_1qezy8k" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo_cxff">
<bpmndi:BPMNShape id="Activity_0x09ket_di" bpmnElement="bszgjldxf_1">
<dc:Bounds x="260" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_12sl6br" bpmnElement="Event_087v97x">
<dc:Bounds x="170" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_046cr29_di" bpmnElement="autoTask">
<dc:Bounds x="542" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_183drsv_di" bpmnElement="Gateway_16tlx8e">
<dc:Bounds x="425" y="175" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1rveos3_di" bpmnElement="Gateway_16gkwe2">
<dc:Bounds x="705" y="175" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qezy8k_di" bpmnElement="Event_1qezy8k">
<dc:Bounds x="812" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1g6zc95_di" bpmnElement="Flow_1g6zc95">
<di:waypoint x="206" y="200" />
<di:waypoint x="260" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0m3rvt8_di" bpmnElement="Flow_0m3rvt8">
<di:waypoint x="450" y="175" />
<di:waypoint x="450" y="100" />
<di:waypoint x="310" y="100" />
<di:waypoint x="310" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="339" y="82" width="83" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06h9ihd_di" bpmnElement="Flow_06h9ihd">
<di:waypoint x="360" y="200" />
<di:waypoint x="425" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0y71vm8_di" bpmnElement="Flow_0y71vm8">
<di:waypoint x="475" y="200" />
<di:waypoint x="542" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wenf4n_di" bpmnElement="Flow_0wenf4n">
<di:waypoint x="642" y="200" />
<di:waypoint x="705" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0aofle0_di" bpmnElement="Flow_0aofle0">
<di:waypoint x="755" y="200" />
<di:waypoint x="812" y="200" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>