yangys
2025-08-19 b7da34655eba68a1d837cffbbd43319d88971fac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="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:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="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.flowable.org/processdef">
  <process id="program-unlock" name="解锁流程" isExecutable="true">
    <startEvent id="unlockStart"/>
    <endEvent id="unlockApproveEnd">
      <extensionElements>
        <flowable:executionListener expression="${unlockFinishListener.handle(execution)}" event="end"/>
      </extensionElements>
    </endEvent>
    <endEvent id="unlockExceptionEnd" name="异常结束"/>
    <userTask id="unlockApproveTask" flowable:assignee="${assignee}" name="高师审核"/>
    <sequenceFlow id="sid-030b6e4b-640a-41aa-a536-ddf9fb485ac1" sourceRef="unlockStart" targetRef="unlockApproveTask"/>
    <userTask id="unlockProgramConfirm" name="编制复核" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-eef79355-70bc-4610-aece-b1aed2f9876a" sourceRef="unlockApproveTask" targetRef="unlockApproveEnd">
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-be770b3a-d711-45df-8477-fdd73b84d85b" sourceRef="unlockApproveTask" targetRef="unlockProgramConfirm">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-5a3d8229-b648-424a-a0f4-f356082d5375" sourceRef="unlockProgramConfirm" targetRef="exceptionHandleScriptTask">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-185054ce-c200-475e-8128-2369554b05cf" sourceRef="unlockProgramConfirm" targetRef="unlockApproveTask">
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <scriptTask id="exceptionHandleScriptTask" scriptFormat="groovy">
      <script><![CDATA[
          execution.setVariable("exception", "1");//设置异常标志
        ]]></script>
    </scriptTask>
    <sequenceFlow id="sid-71a18c36-1a09-47da-bb1b-bc4e4a4b3bb3" sourceRef="exceptionHandleScriptTask" targetRef="unlockExceptionEnd"/>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_program-unlock">
    <bpmndi:BPMNPlane bpmnElement="program-unlock" id="BPMNPlane_program-unlock">
      <bpmndi:BPMNShape id="shape-0d3745b5-d492-4430-bfb3-975eac8a9852" bpmnElement="unlockStart">
        <omgdc:Bounds x="-180.0" y="-75.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-9544d391-52f3-44d0-a3d0-1461593102f9" bpmnElement="unlockApproveEnd">
        <omgdc:Bounds x="105.0" y="-90.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-37a910c4-327e-4273-a60e-22de9f892bd9" bpmnElement="unlockExceptionEnd">
        <omgdc:Bounds x="90.0" y="10.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-0eb28127-9a0b-4308-996a-9f19a0943921" bpmnElement="unlockApproveTask">
        <omgdc:Bounds x="-70.0" y="-100.0" width="70.0" height="50.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-d5bed6a4-0499-4c91-aa94-3cfa5ddfb5bb" bpmnElement="sid-030b6e4b-640a-41aa-a536-ddf9fb485ac1">
        <omgdi:waypoint x="-150.0" y="-67.5"/>
        <omgdi:waypoint x="-70.0" y="-87.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-d54efb68-e798-45b5-a892-e75a5be60f08" bpmnElement="unlockProgramConfirm">
        <omgdc:Bounds x="-155.0" y="-5.0" width="65.0" height="60.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-a82c55eb-2bf4-4c8f-be88-07467b081f86" bpmnElement="sid-eef79355-70bc-4610-aece-b1aed2f9876a">
        <omgdi:waypoint x="0.0" y="-75.0"/>
        <omgdi:waypoint x="105.0" y="-75.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-50638e38-39b8-4127-8992-b0efb6e0f1da" bpmnElement="sid-be770b3a-d711-45df-8477-fdd73b84d85b">
        <omgdi:waypoint x="-70.0" y="-62.5"/>
        <omgdi:waypoint x="-106.25" y="-5.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-2a037d18-24db-4d77-8cdb-40033885876d" bpmnElement="sid-5a3d8229-b648-424a-a0f4-f356082d5375">
        <omgdi:waypoint x="-90.0" y="25.0"/>
        <omgdi:waypoint x="-40.0" y="10.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-bc8f223a-1a63-4206-b55d-f168040d127a" bpmnElement="sid-185054ce-c200-475e-8128-2369554b05cf">
        <omgdi:waypoint x="-90.0" y="10.0"/>
        <omgdi:waypoint x="-52.5" y="-50.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-9978ae88-3b6c-4c95-acde-3ed555915a16" bpmnElement="exceptionHandleScriptTask">
        <omgdc:Bounds x="-40.0" y="-5.0" width="80.0" height="60.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-c0e9d811-5bad-46bf-99d2-5aadb51ed03c" bpmnElement="sid-71a18c36-1a09-47da-bb1b-bc4e4a4b3bb3">
        <omgdi:waypoint x="40.0" y="10.0"/>
        <omgdi:waypoint x="97.5" y="40.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>