| | |
| | | <process id="program-replace" name="替换" isExecutable="true"> |
| | | <startEvent id="sid-0e059345-0bf2-4c18-af59-ee7aeef674c7"/> |
| | | <endEvent id="replaceApproveEnd" name="通过结束"> |
| | | <extensionElements> |
| | | <flowable:executionListener expression="${replaceFinishListener.handle(execution)}" event="end"/> |
| | | </extensionElements> |
| | | <extensionElements> |
| | | <flowable:executionListener expression="${replaceFinishListener.handle(execution)}" event="end"/> |
| | | </extensionElements> |
| | | </endEvent> |
| | | <userTask id="repalceCheckTask" name="数控程序校对" flowable:assignee="${assignee}"/> |
| | | <userTask id="repalceProgrammingTask" name="数控程序编写" flowable:assignee="${assignee}"/> |
| | |
| | | <conditionExpression>${approve=='N'}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="sid-36e913be-1be9-49d3-a8a3-51aadd0e945c" sourceRef="sid-0e059345-0bf2-4c18-af59-ee7aeef674c7" targetRef="repalceCheckTask"/> |
| | | <endEvent id="sid-75a8afef-26b1-4dce-9ad9-4a1d4efff08c" name="退出结束"> |
| | | <extensionElements> |
| | | <flowable:executionListener expression="${repalceFinishListener.handle(execution)}" event="end"/> |
| | | </extensionElements> |
| | | </endEvent> |
| | | <sequenceFlow id="sid-c86f3a13-5e74-423a-b80d-19ef482eb9e1" sourceRef="repalceProgrammingTask" targetRef="sid-75a8afef-26b1-4dce-9ad9-4a1d4efff08c"> |
| | | <endEvent id="sid-75a8afef-26b1-4dce-9ad9-4a1d4efff08c" name="退出结束"></endEvent> |
| | | <sequenceFlow id="sid-c86f3a13-5e74-423a-b80d-19ef482eb9e1" sourceRef="repalceProgrammingTask" targetRef="exceptionHandleTask"> |
| | | <conditionExpression>${approve=='N'}</conditionExpression> |
| | | </sequenceFlow> |
| | | <scriptTask id="exceptionHandleTask" name="异常设置任务" scriptFormat="groovy"> |
| | | <script><![CDATA[ |
| | | execution.setVariable("exception", "1"); |
| | | ]]></script> |
| | | </scriptTask> |
| | | <sequenceFlow id="sid-bb78fe61-b286-4147-ae83-9e95f8d39afe" sourceRef="exceptionHandleTask" targetRef="sid-75a8afef-26b1-4dce-9ad9-4a1d4efff08c"/> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_program-replace"> |
| | | <bpmndi:BPMNPlane bpmnElement="program-replace" id="BPMNPlane_program-replace"> |
| | |
| | | <omgdi:waypoint x="-137.5" y="-96.25"/> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="shape-3f281eec-371b-43b4-8b6e-b1985a98b3c6" bpmnElement="sid-75a8afef-26b1-4dce-9ad9-4a1d4efff08c"> |
| | | <omgdc:Bounds x="-10.0" y="5.0" width="30.0" height="30.0"/> |
| | | <omgdc:Bounds x="85.0" y="50.0" width="30.0" height="30.0"/> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNEdge id="edge-57d6332c-3cbf-48e6-ac07-a81e31a72155" bpmnElement="sid-c86f3a13-5e74-423a-b80d-19ef482eb9e1"> |
| | | <omgdi:waypoint x="-100.0" y="28.75"/> |
| | | <omgdi:waypoint x="-50.0" y="20.0"/> |
| | | <omgdi:waypoint x="-10.0" y="12.5"/> |
| | | <omgdi:waypoint x="-60.0" y="50.0"/> |
| | | <omgdi:waypoint x="-35.0" y="56.25"/> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="shape-54d1b102-8869-4675-93a6-2cb479d0dd4a" bpmnElement="exceptionHandleTask"> |
| | | <omgdc:Bounds x="-35.0" y="22.5" width="55.0" height="45.0"/> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNEdge id="edge-6e56e84b-e2e7-418d-ae90-e4117c63938f" bpmnElement="sid-bb78fe61-b286-4147-ae83-9e95f8d39afe"> |
| | | <omgdi:waypoint x="20.0" y="56.25"/> |
| | | <omgdi:waypoint x="85.0" y="57.5"/> |
| | | </bpmndi:BPMNEdge> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |