<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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="demosys-mnv1" isClosed="false" isExecutable="true" name="发文流程 v1" processType="None">

        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="bookings">
                <flowable:string>ibizsample0006s</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0006s">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0006s">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0006s">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0006s">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0006s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0006s">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="wfverfield_ibizsample0006s">
                <flowable:string>wfversion</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0006s">
                <flowable:string>ibizsample0006name</flowable:string>
            </flowable:field>
        </extensionElements>

     <userTask flowable:category="${businessKey}"  flowable:candidateUsers="" flowable:exclusive="true" id="tid-20-6b4a02f112b6d0fc38b45f004b7c2bbb" name="部门会签" flowable:formKey="EMBED">
        <documentation>${majortext}</documentation>
     </userTask>
     <endEvent id="sid-dca9c7f4c245233b462231f744072f19" name="结束"/>
     <userTask flowable:category="${businessKey}"  flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-adc8fca0f3c13356e9ae430b7dce05a2" name="部门领导审核" >
        <documentation>${majortext}</documentation>
     </userTask>
     <serviceTask id="sid-df7f0fe719fdedf8a4b669d7df16d703" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
     </serviceTask>
     <startEvent id="sid-6249a50fdb096a401668a86ee2c158ac" name="开始流程"/>
     <serviceTask id="sid-2ba22a096a6555b2de93ed04b18dfdfd" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
     </serviceTask>
     <sequenceFlow id="rid-bc629144a194ccb53a6965597d5cf55f" sourceRef="sid-df7f0fe719fdedf8a4b669d7df16d703" targetRef="sid-dca9c7f4c245233b462231f744072f19" name="">
     </sequenceFlow>
     <sequenceFlow id="lid-C100-315f6edd3d2e808ca9712364b7729954" sourceRef="tid-10-adc8fca0f3c13356e9ae430b7dce05a2" targetRef="sid-6b4a02f112b6d0fc38b45f004b7c2bbb" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-315f6edd3d2e808ca9712364b7729954"}]]></conditionExpression>
     </sequenceFlow>
     <sequenceFlow id="lid-C200-8d366875fc23834877033a75fb15c80e" sourceRef="tid-10-adc8fca0f3c13356e9ae430b7dce05a2" targetRef="sid-df7f0fe719fdedf8a4b669d7df16d703" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-8d366875fc23834877033a75fb15c80e"}]]></conditionExpression>
     </sequenceFlow>
     <sequenceFlow id="rid-d62a0ca48edd4ce6b4e15a63cff31a9b" sourceRef="sid-6249a50fdb096a401668a86ee2c158ac" targetRef="tid-10-adc8fca0f3c13356e9ae430b7dce05a2" name="">
     </sequenceFlow>
     <sequenceFlow id="rid-b409d9085f27f29ba46c54a3ab24f9e9" sourceRef="sid-2ba22a096a6555b2de93ed04b18dfdfd" targetRef="sid-dca9c7f4c245233b462231f744072f19" name="">
     </sequenceFlow>
     <sequenceFlow id="lid-30-beb929d49342ac6bf12618f7d504bc61" sourceRef="sid-6b4a02f112b6d0fc38b45f004b7c2bbb" targetRef="sid-2ba22a096a6555b2de93ed04b18dfdfd" name="">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-30-beb929d49342ac6bf12618f7d504bc61"}]]></conditionExpression>
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-mnv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-mnv1" bpmnElement="demosys-mnv1">
                 <bpmndi:BPMNShape id="BPMNShape-6b4a02f112b6d0fc38b45f004b7c2bbb" bpmnElement="sid-6b4a02f112b6d0fc38b45f004b7c2bbb">
                     <omgdi:Bounds x="120" y="280" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-dca9c7f4c245233b462231f744072f19" bpmnElement="sid-dca9c7f4c245233b462231f744072f19">
                     <omgdi:Bounds x="580" y="580" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-adc8fca0f3c13356e9ae430b7dce05a2" bpmnElement="tid-10-adc8fca0f3c13356e9ae430b7dce05a2">
                     <omgdi:Bounds x="600" y="100" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-df7f0fe719fdedf8a4b669d7df16d703" bpmnElement="sid-df7f0fe719fdedf8a4b669d7df16d703">
                     <omgdi:Bounds x="860" y="480" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-6249a50fdb096a401668a86ee2c158ac" bpmnElement="sid-6249a50fdb096a401668a86ee2c158ac">
                     <omgdi:Bounds x="280" y="30" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-2ba22a096a6555b2de93ed04b18dfdfd" bpmnElement="sid-2ba22a096a6555b2de93ed04b18dfdfd">
                     <omgdi:Bounds x="120" y="480" width="100" height="80" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-bc629144a194ccb53a6965597d5cf55f" bpmnElement="rid-bc629144a194ccb53a6965597d5cf55f">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-315f6edd3d2e808ca9712364b7729954" bpmnElement="lid-C100-315f6edd3d2e808ca9712364b7729954">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-8d366875fc23834877033a75fb15c80e" bpmnElement="lid-C200-8d366875fc23834877033a75fb15c80e">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-d62a0ca48edd4ce6b4e15a63cff31a9b" bpmnElement="rid-d62a0ca48edd4ce6b4e15a63cff31a9b">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-b409d9085f27f29ba46c54a3ab24f9e9" bpmnElement="rid-b409d9085f27f29ba46c54a3ab24f9e9">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-30-beb929d49342ac6bf12618f7d504bc61" bpmnElement="lid-30-beb929d49342ac6bf12618f7d504bc61">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>



