yangys
2025-09-09 3d558e1bb5091b76a6525f6fab015574e1755200
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?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-append" name="试切补充" isExecutable="true">
    <startEvent id="start" name="开始"/>
    <sequenceFlow id="sid-c1619263-d1ff-4106-9315-f9ab9a3bee71" sourceRef="start" targetRef="appendProgrammingTask"/>
    <userTask id="appendProgrammingTask" name="数控程序编写" flowable:assignee="${assignee}"/>
    <userTask id="appendCheckTask" name="数控程序校对" flowable:assignee="${assignee}"/>
    <userTask id="appendApproveTask" name="数控程序审批" flowable:assignee="${assignee}">
      <documentation>高师数控程序审批</documentation>
    </userTask>
    <endEvent id="approveEnd" name="审批完成">
      <extensionElements>
        <flowable:executionListener expression="${appendFinishListener.handle(execution)}" event="end"/>
      </extensionElements>
    </endEvent>
    <sequenceFlow id="programingToCheck" sourceRef="appendProgrammingTask" targetRef="appendCheckTask" name="编制完成给校对">
      <conditionExpression xsi:type="tFormalExpression">${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flowCheckToPrograming" sourceRef="appendCheckTask" targetRef="appendProgrammingTask" name="flow校对驳回到编制">
      <conditionExpression xsi:type="tFormalExpression">${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="flowToSeriorTask" sourceRef="appendCheckTask" targetRef="appendApproveTask" name="到高师审批">
      <conditionExpression xsi:type="tFormalExpression">${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-c0b195e7-17e5-44bf-8115-8b7126cb3ab3" sourceRef="appendApproveTask" targetRef="approveEnd">
      <conditionExpression xsi:type="tFormalExpression">${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-d4133565-1a45-4bb6-b603-9b9e4db1cdbb" sourceRef="appendApproveTask" targetRef="appendProgrammingTask">
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <endEvent id="sid-59124fa5-62ee-4ba5-8bd9-cafc65aa5fcf" name="组长结束"/>
    <scriptTask id="exceptionHandleTask" scriptFormat="groovy">
      <script><![CDATA[
          execution.setVariable("exception", "1");
        ]]></script>
    </scriptTask>
    <sequenceFlow id="sid-7f62f3c2-08bf-4007-807d-3403ad831ed5" sourceRef="exceptionHandleTask" targetRef="sid-59124fa5-62ee-4ba5-8bd9-cafc65aa5fcf"/>
    <sequenceFlow id="programmerEndLine" sourceRef="appendProgrammingTask" targetRef="exceptionHandleTask" name="工艺员结束">
      <conditionExpression>${approve=='E'}</conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_dispatch">
    <bpmndi:BPMNPlane bpmnElement="dispatch" id="BPMNPlane_dispatch">
      <bpmndi:BPMNShape id="shape-bb4d1b10-12af-4d57-851f-308a54aca93c" bpmnElement="start">
        <omgdc:Bounds x="-320.0" y="-100.0" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-5783eb04-78a8-4bde-b8bb-c12d28f07609" bpmnElement="sid-c1619263-d1ff-4106-9315-f9ab9a3bee71">
        <omgdi:waypoint x="-290.0" y="-92.5"/>
        <omgdi:waypoint x="-152.5" y="-16.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-b1baea86-1882-4c5c-886f-44e3d9be3746" bpmnElement="appendProgrammingTask">
        <omgdc:Bounds x="-152.5" y="-31.5" width="85.0" height="60.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-9237838e-5de2-4db7-8d46-3f4a69de7e6e" bpmnElement="appendCheckTask">
        <omgdc:Bounds x="-55.0" y="-125.0" width="60.0" height="55.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-a42e90ff-9c82-4d5b-8f5b-0804754e89a6" bpmnElement="appendApproveTask">
        <omgdc:Bounds x="130.0" y="-4.0" width="50.0" height="45.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-f14acaf6-9747-4d52-87a1-d4c5b8f3d166" bpmnElement="approveEnd">
        <omgdc:Bounds x="295.0" y="-6.5" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-6f05f47f-7804-4dd0-b6d2-e435b9efaa3c" bpmnElement="programingToCheck">
        <omgdi:waypoint x="-67.5" y="-16.5"/>
        <omgdi:waypoint x="-10.0" y="-70.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-c2232174-4a73-4c39-ac85-fc3854f0f18c" bpmnElement="flowCheckToPrograming">
        <omgdi:waypoint x="-55.0" y="-83.75"/>
        <omgdi:waypoint x="-109.99999" y="-31.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-d05b5f9f-9108-4a41-9e48-4db1e1b1e325" bpmnElement="flowToSeriorTask">
        <omgdi:waypoint x="5.0" y="-83.75"/>
        <omgdi:waypoint x="155.00002" y="-4.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-715efa53-6c03-407b-87ec-640f99c481a0" bpmnElement="sid-c0b195e7-17e5-44bf-8115-8b7126cb3ab3">
        <omgdi:waypoint x="180.0" y="18.5"/>
        <omgdi:waypoint x="295.0" y="1.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-7a5135fe-5eb1-425c-b920-3e2b5bf18454" bpmnElement="sid-d4133565-1a45-4bb6-b603-9b9e4db1cdbb">
        <omgdi:waypoint x="130.0" y="18.500002"/>
        <omgdi:waypoint x="-67.5" y="-1.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="shape-d9e76c38-3a8a-476a-af94-90eb350e46e2" bpmnElement="sid-59124fa5-62ee-4ba5-8bd9-cafc65aa5fcf">
        <omgdc:Bounds x="-325.0" y="22.499998" width="30.0" height="30.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="shape-99e2affe-de2c-43fb-8ab1-b1e26bb1c905" bpmnElement="exceptionHandleTask">
        <omgdc:Bounds x="-280.0" y="10.0" width="55.0" height="45.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="edge-94f8ab21-dbbb-4ea4-9519-51002cbcfe4e" bpmnElement="sid-7f62f3c2-08bf-4007-807d-3403ad831ed5">
        <omgdi:waypoint x="-280.0" y="32.5"/>
        <omgdi:waypoint x="-295.0" y="37.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="edge-a96e2c79-7b1b-4eef-9779-c6398a84f2ad" bpmnElement="programmerEndLine">
        <omgdi:waypoint x="-152.5" y="13.5"/>
        <omgdi:waypoint x="-225.0" y="21.25"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>