| | |
| | | <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}"/> |
| | | <userTask id="replaceProgrammingTask" name="数控程序编写" flowable:assignee="${assignee}"/> |
| | | <userTask id="replaceApprove" name="程序替换审核" flowable:assignee="${assignee}"/> |
| | | <sequenceFlow id="sid-bf9c31fa-f8c4-4ff5-b4d9-ce3cc0bd1fa2" sourceRef="replaceApprove" targetRef="replaceApproveEnd"> |
| | | <conditionExpression>${approve=='Y'}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="sid-318e94d8-f335-428a-b2a1-81cb2e59993f" sourceRef="repalceProgrammingTask" targetRef="repalceCheckTask"> |
| | | <sequenceFlow id="sid-318e94d8-f335-428a-b2a1-81cb2e59993f" sourceRef="replaceProgrammingTask" targetRef="repalceCheckTask"> |
| | | <conditionExpression>${approve=='Y'}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="sid-ffcf7c0a-7775-45fc-8e0a-368d70522633" sourceRef="repalceCheckTask" targetRef="replaceApprove"> |
| | |
| | | <sequenceFlow id="sid-c4180f0a-6120-4504-96e3-28ddd7975c15" sourceRef="replaceApprove" targetRef="repalceCheckTask"> |
| | | <conditionExpression>${approve=='N'}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="sid-b78c5f58-0487-4cda-8ed8-0ea581b9e934" sourceRef="repalceCheckTask" targetRef="repalceProgrammingTask"> |
| | | <sequenceFlow id="sid-b78c5f58-0487-4cda-8ed8-0ea581b9e934" sourceRef="repalceCheckTask" targetRef="replaceProgrammingTask"> |
| | | <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="退出结束"/> |
| | | <sequenceFlow id="sid-c86f3a13-5e74-423a-b80d-19ef482eb9e1" sourceRef="replaceProgrammingTask" 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"> |
| | |
| | | <bpmndi:BPMNShape id="shape-69fea4e5-2bbd-43d3-9bbb-53342e3d898d" bpmnElement="repalceCheckTask"> |
| | | <omgdc:Bounds x="-137.5" y="-105.0" width="50.000004" height="35.0"/> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="shape-9d186c35-7e72-4cff-99f6-88352cb15b55" bpmnElement="repalceProgrammingTask"> |
| | | <bpmndi:BPMNShape id="shape-9d186c35-7e72-4cff-99f6-88352cb15b55" bpmnElement="replaceProgrammingTask"> |
| | | <omgdc:Bounds x="-145.0" y="2.5" width="45.0" height="35.0"/> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="shape-bd196b3d-c1ab-4167-a264-7cfc2cf6ec9e" bpmnElement="replaceApprove"> |
| | |
| | | <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> |