You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

190 lines
16 KiB

<?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="firstWorkTicket" name="第一种工作票流程" isExecutable="true">
<startEvent id="startEvent1" name="开票" flowable:formFieldValidation="true"></startEvent>
<userTask id="sign" name="签发人签发" flowable:candidateUsers="${signUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-2FE58253-A31C-4D77-9522-E7805892D690" sourceRef="startEvent1" targetRef="sign"></sequenceFlow>
<userTask id="license" name="许可人许可" flowable:candidateUsers="${licenseUserIds}" flowable:formFieldValidation="true"></userTask>
<exclusiveGateway id="sid-C6F110F1-B489-4C24-81B1-17DE047F00B8"></exclusiveGateway>
<sequenceFlow id="sid-DDE745FE-A38C-4C87-88A8-108F8595CE5D" sourceRef="license" targetRef="sid-C6F110F1-B489-4C24-81B1-17DE047F00B8"></sequenceFlow>
<userTask id="getTicket" name="收到工作票" flowable:candidateUsers="${principalUserIds}" flowable:formFieldValidation="true"></userTask>
<userTask id="principalConfirmMeasure" name="工作负责人确认安全事项" flowable:candidateUsers="${principalUserIds}" flowable:formFieldValidation="true"></userTask>
<userTask id="membersConfirmMeasure" name="工作组员确认安全事项" flowable:candidateUsers="${membersUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-3D34302A-8DC1-4660-96B8-B932F8661A7F" sourceRef="principalConfirmMeasure" targetRef="membersConfirmMeasure"></sequenceFlow>
<userTask id="confirmFinishSituation" name="工作负责人确认安全事项完成情况" flowable:candidateUsers="${principalUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-E8FF5E73-1466-4C4E-A492-F1035D2360EF" sourceRef="membersConfirmMeasure" targetRef="confirmFinishSituation"></sequenceFlow>
<exclusiveGateway id="sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A"></exclusiveGateway>
<userTask id="confirmFinish" name="许可人确认工作结束" flowable:candidateUsers="${licenseUserIds}" flowable:formFieldValidation="true"></userTask>
<userTask id="end" name="工作票终结" flowable:candidateUsers="${licenseUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-6BF3308A-CA14-4817-893C-99A15D8BA034" sourceRef="confirmFinish" targetRef="end"></sequenceFlow>
<endEvent id="sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9" name="结束"></endEvent>
<sequenceFlow id="sid-4E2C50E4-8880-438E-A7E1-899EB77172A3" sourceRef="end" targetRef="sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9"></sequenceFlow>
<userTask id="confirmDelay" name="许可人确认" flowable:candidateUsers="${licenseUserIds}" flowable:formFieldValidation="true"></userTask>
<userTask id="membersCompleteContent" name="工作成员工作任务完成情况" flowable:candidateUsers="${membersUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-5DACD992-68CD-4B2F-9592-559F18D0BF7C" sourceRef="confirmFinishSituation" targetRef="membersCompleteContent"></sequenceFlow>
<userTask id="principalConfirmContent" name="工作负责人完成工作情况" flowable:candidateUsers="${principalUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-5CA3BC12-02A3-4287-83D6-6BD176D87A37" sourceRef="membersCompleteContent" targetRef="principalConfirmContent"></sequenceFlow>
<sequenceFlow id="sid-F15201B2-7F8B-4298-BFFA-CDEFE075904B" sourceRef="principalConfirmContent" targetRef="sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A"></sequenceFlow>
<exclusiveGateway id="sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34"></exclusiveGateway>
<sequenceFlow id="sid-C88EC184-835F-43B9-B4B0-383D306323C9" sourceRef="sign" targetRef="sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34"></sequenceFlow>
<sequenceFlow id="sid-FE541531-0594-41AE-A340-D814EE8FA9B2" name="工作票延期" sourceRef="sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A" targetRef="confirmDelay">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${delay==true}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-B7A4366E-5C96-4BFD-AC5F-70A27F474E21" sourceRef="sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A" targetRef="confirmFinish">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${delay==false}]]></conditionExpression>
</sequenceFlow>
<userTask id="principalConfirmDelay" name="工作负责人确认" flowable:candidateUsers="${principalUserIds}" flowable:formFieldValidation="true"></userTask>
<sequenceFlow id="sid-6D8EA369-B42C-4DD0-B2DE-9621FCCEFD9F" sourceRef="confirmDelay" targetRef="principalConfirmDelay"></sequenceFlow>
<sequenceFlow id="sid-4959A4D6-CCAB-4FDE-B130-8F456064B238" sourceRef="principalConfirmDelay" targetRef="membersCompleteContent"></sequenceFlow>
<sequenceFlow id="sid-7E33A8C3-CA60-4AE9-A9D5-2A598C18E3BE" sourceRef="getTicket" targetRef="license"></sequenceFlow>
<sequenceFlow id="sid-33D66AE3-B7AF-4CC9-BABE-273B277D52BD" sourceRef="sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34" targetRef="getTicket">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${invalid==false}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-7CFC5BAE-F671-457F-B8C8-84261DA8A76F" name="作废" sourceRef="sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34" targetRef="sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${invalid==true}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-843CF761-FA3E-4775-83E5-8620F70CD9AF" name="许可通过" sourceRef="sid-C6F110F1-B489-4C24-81B1-17DE047F00B8" targetRef="principalConfirmMeasure">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${invalid==false}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sid-4683B6CE-1150-49ED-B60B-2343DA66830D" name="作废" sourceRef="sid-C6F110F1-B489-4C24-81B1-17DE047F00B8" targetRef="sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${invalid==true}]]></conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_firstWorkTicket">
<bpmndi:BPMNPlane bpmnElement="firstWorkTicket" id="BPMNPlane_firstWorkTicket">
<bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
<omgdc:Bounds height="30.0" width="30.0" x="100.0" y="163.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sign" id="BPMNShape_sign">
<omgdc:Bounds height="80.0" width="100.0" x="175.0" y="138.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="license" id="BPMNShape_license">
<omgdc:Bounds height="80.0" width="100.0" x="555.0" y="135.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-C6F110F1-B489-4C24-81B1-17DE047F00B8" id="BPMNShape_sid-C6F110F1-B489-4C24-81B1-17DE047F00B8">
<omgdc:Bounds height="40.0" width="40.0" x="690.0" y="155.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="getTicket" id="BPMNShape_getTicket">
<omgdc:Bounds height="80.0" width="100.0" x="405.0" y="135.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="principalConfirmMeasure" id="BPMNShape_principalConfirmMeasure">
<omgdc:Bounds height="80.0" width="100.0" x="765.0" y="135.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="membersConfirmMeasure" id="BPMNShape_membersConfirmMeasure">
<omgdc:Bounds height="80.0" width="100.0" x="915.0" y="135.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="confirmFinishSituation" id="BPMNShape_confirmFinishSituation">
<omgdc:Bounds height="80.0" width="100.0" x="915.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A" id="BPMNShape_sid-0FD35FDE-8747-4AC9-BB5F-E878E537BC3A">
<omgdc:Bounds height="40.0" width="40.0" x="525.0" y="305.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="confirmFinish" id="BPMNShape_confirmFinish">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="end" id="BPMNShape_end">
<omgdc:Bounds height="80.0" width="100.0" x="225.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9" id="BPMNShape_sid-F6CD09E1-9A40-4BD8-A2A3-A8FECE150CA9">
<omgdc:Bounds height="28.0" width="28.0" x="101.0" y="311.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="confirmDelay" id="BPMNShape_confirmDelay">
<omgdc:Bounds height="80.0" width="100.0" x="495.0" y="405.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="membersCompleteContent" id="BPMNShape_membersCompleteContent">
<omgdc:Bounds height="80.0" width="100.0" x="765.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="principalConfirmContent" id="BPMNShape_principalConfirmContent">
<omgdc:Bounds height="80.0" width="100.0" x="615.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34" id="BPMNShape_sid-CEDF97BB-4546-4D9B-8A10-C8C97D60DF34">
<omgdc:Bounds height="40.0" width="40.0" x="320.0" y="158.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="principalConfirmDelay" id="BPMNShape_principalConfirmDelay">
<omgdc:Bounds height="80.0" width="100.0" x="660.0" y="405.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="sid-DDE745FE-A38C-4C87-88A8-108F8595CE5D" id="BPMNEdge_sid-DDE745FE-A38C-4C87-88A8-108F8595CE5D">
<omgdi:waypoint x="654.9499999999999" y="175.0"></omgdi:waypoint>
<omgdi:waypoint x="690.0" y="175.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-FE541531-0594-41AE-A340-D814EE8FA9B2" id="BPMNEdge_sid-FE541531-0594-41AE-A340-D814EE8FA9B2">
<omgdi:waypoint x="545.0" y="344.94169442131556"></omgdi:waypoint>
<omgdi:waypoint x="545.0" y="405.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-C88EC184-835F-43B9-B4B0-383D306323C9" id="BPMNEdge_sid-C88EC184-835F-43B9-B4B0-383D306323C9">
<omgdi:waypoint x="274.95000000000005" y="178.0"></omgdi:waypoint>
<omgdi:waypoint x="320.0" y="178.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-4959A4D6-CCAB-4FDE-B130-8F456064B238" id="BPMNEdge_sid-4959A4D6-CCAB-4FDE-B130-8F456064B238">
<omgdi:waypoint x="759.9499999997919" y="445.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="445.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="364.95000000000005"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-7E33A8C3-CA60-4AE9-A9D5-2A598C18E3BE" id="BPMNEdge_sid-7E33A8C3-CA60-4AE9-A9D5-2A598C18E3BE">
<omgdi:waypoint x="504.95000000000005" y="175.0"></omgdi:waypoint>
<omgdi:waypoint x="555.0" y="175.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-843CF761-FA3E-4775-83E5-8620F70CD9AF" id="BPMNEdge_sid-843CF761-FA3E-4775-83E5-8620F70CD9AF">
<omgdi:waypoint x="729.9363168701263" y="175.0"></omgdi:waypoint>
<omgdi:waypoint x="765.0" y="175.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-2FE58253-A31C-4D77-9522-E7805892D690" id="BPMNEdge_sid-2FE58253-A31C-4D77-9522-E7805892D690">
<omgdi:waypoint x="129.9499984899576" y="178.0"></omgdi:waypoint>
<omgdi:waypoint x="174.9999999999917" y="178.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-E8FF5E73-1466-4C4E-A492-F1035D2360EF" id="BPMNEdge_sid-E8FF5E73-1466-4C4E-A492-F1035D2360EF">
<omgdi:waypoint x="965.0" y="214.95000000000002"></omgdi:waypoint>
<omgdi:waypoint x="965.0" y="285.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-4683B6CE-1150-49ED-B60B-2343DA66830D" id="BPMNEdge_sid-4683B6CE-1150-49ED-B60B-2343DA66830D">
<omgdi:waypoint x="710.0" y="194.93770036991373"></omgdi:waypoint>
<omgdi:waypoint x="710.0" y="256.0"></omgdi:waypoint>
<omgdi:waypoint x="115.0" y="256.0"></omgdi:waypoint>
<omgdi:waypoint x="115.0" y="311.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-5CA3BC12-02A3-4287-83D6-6BD176D87A37" id="BPMNEdge_sid-5CA3BC12-02A3-4287-83D6-6BD176D87A37">
<omgdi:waypoint x="765.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="714.9499999999999" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-7CFC5BAE-F671-457F-B8C8-84261DA8A76F" id="BPMNEdge_sid-7CFC5BAE-F671-457F-B8C8-84261DA8A76F">
<omgdi:waypoint x="340.0" y="197.93722791293214"></omgdi:waypoint>
<omgdi:waypoint x="340.0" y="256.0"></omgdi:waypoint>
<omgdi:waypoint x="115.0" y="256.0"></omgdi:waypoint>
<omgdi:waypoint x="115.0" y="311.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-3D34302A-8DC1-4660-96B8-B932F8661A7F" id="BPMNEdge_sid-3D34302A-8DC1-4660-96B8-B932F8661A7F">
<omgdi:waypoint x="864.9499999999581" y="175.0"></omgdi:waypoint>
<omgdi:waypoint x="915.0" y="175.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-4E2C50E4-8880-438E-A7E1-899EB77172A3" id="BPMNEdge_sid-4E2C50E4-8880-438E-A7E1-899EB77172A3">
<omgdi:waypoint x="225.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="128.94992598454698" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-F15201B2-7F8B-4298-BFFA-CDEFE075904B" id="BPMNEdge_sid-F15201B2-7F8B-4298-BFFA-CDEFE075904B">
<omgdi:waypoint x="615.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="564.9082777313477" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-B7A4366E-5C96-4BFD-AC5F-70A27F474E21" id="BPMNEdge_sid-B7A4366E-5C96-4BFD-AC5F-70A27F474E21">
<omgdi:waypoint x="525.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="489.95000000000005" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-6D8EA369-B42C-4DD0-B2DE-9621FCCEFD9F" id="BPMNEdge_sid-6D8EA369-B42C-4DD0-B2DE-9621FCCEFD9F">
<omgdi:waypoint x="594.95" y="445.0"></omgdi:waypoint>
<omgdi:waypoint x="660.0" y="445.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-33D66AE3-B7AF-4CC9-BABE-273B277D52BD" id="BPMNEdge_sid-33D66AE3-B7AF-4CC9-BABE-273B277D52BD">
<omgdi:waypoint x="359.9366822408121" y="178.0"></omgdi:waypoint>
<omgdi:waypoint x="404.99999999996055" y="178.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-6BF3308A-CA14-4817-893C-99A15D8BA034" id="BPMNEdge_sid-6BF3308A-CA14-4817-893C-99A15D8BA034">
<omgdi:waypoint x="390.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="324.94999999999396" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sid-5DACD992-68CD-4B2F-9592-559F18D0BF7C" id="BPMNEdge_sid-5DACD992-68CD-4B2F-9592-559F18D0BF7C">
<omgdi:waypoint x="915.0" y="325.0"></omgdi:waypoint>
<omgdi:waypoint x="864.9499999999999" y="325.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>