<?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-odspmmv1" isClosed="false" isExecutable="true" name="订单审批（多模式） v1" processType="None">

        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="bookings">
                <flowable:string>ibizsample0005s</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0005s">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0005s">
                <flowable:string>wfmmstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0005s">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0005s">
                <flowable:string>wfmmstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0005s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0005s">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="wfverfield_ibizsample0005s">
                <flowable:string>wfversion</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0005s">
                <flowable:string>ibizsample0005name</flowable:string>
            </flowable:field>
        </extensionElements>

     <userTask flowable:category="${businessKey}"  flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-49096ca4b656ffb97b8c451626671bd2" name="财务经理审核" >
        <documentation>${majortext}</documentation>
     </userTask>
     <endEvent id="sid-c4a2d21dc2e5935415c79a737570587c" name="结束"/>
     <startEvent id="sid-6ee99fd1d57739be89bc5595d9db9323" name="开始流程"/>
     <serviceTask id="sid-8548777169071ed85cb061812924148b" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0005s</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         <flowable:field name="params-wfmmstate"><flowable:string>30</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <serviceTask id="sid-474cdd8ad39c7d1d986b233652193d40" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0005s</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         <flowable:field name="params-wfmmstate"><flowable:string>40</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <sequenceFlow id="rid-e09a9626720d90b95eabc78157aabee0" sourceRef="sid-474cdd8ad39c7d1d986b233652193d40" targetRef="sid-c4a2d21dc2e5935415c79a737570587c" name="">
     </sequenceFlow>
     <sequenceFlow id="rid-4a5f8a2e84a0fb4f6d076a9690c76be2" sourceRef="sid-6ee99fd1d57739be89bc5595d9db9323" targetRef="tid-10-49096ca4b656ffb97b8c451626671bd2" name="">
     </sequenceFlow>
     <sequenceFlow id="rid-23a00982799d4c150f8b753ff01f7ab3" sourceRef="sid-8548777169071ed85cb061812924148b" targetRef="sid-c4a2d21dc2e5935415c79a737570587c" name="">
     </sequenceFlow>
     <sequenceFlow id="lid-C100-6039d7dae0b32bdbc87e6694de77e7bf" sourceRef="tid-10-49096ca4b656ffb97b8c451626671bd2" targetRef="sid-8548777169071ed85cb061812924148b" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-6039d7dae0b32bdbc87e6694de77e7bf"}]]></conditionExpression>
     </sequenceFlow>
     <sequenceFlow id="lid-C200-708fd32851d5b817c4d19e7e83631fc6" sourceRef="tid-10-49096ca4b656ffb97b8c451626671bd2" targetRef="sid-474cdd8ad39c7d1d986b233652193d40" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-708fd32851d5b817c4d19e7e83631fc6"}]]></conditionExpression>
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-odspmmv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-odspmmv1" bpmnElement="demosys-odspmmv1">
                 <bpmndi:BPMNShape id="BPMNShape-49096ca4b656ffb97b8c451626671bd2" bpmnElement="tid-10-49096ca4b656ffb97b8c451626671bd2">
                     <omgdi:Bounds x="500" y="200" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-c4a2d21dc2e5935415c79a737570587c" bpmnElement="sid-c4a2d21dc2e5935415c79a737570587c">
                     <omgdi:Bounds x="580" y="500" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-6ee99fd1d57739be89bc5595d9db9323" bpmnElement="sid-6ee99fd1d57739be89bc5595d9db9323">
                     <omgdi:Bounds x="395" y="60" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-8548777169071ed85cb061812924148b" bpmnElement="sid-8548777169071ed85cb061812924148b">
                     <omgdi:Bounds x="200" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-474cdd8ad39c7d1d986b233652193d40" bpmnElement="sid-474cdd8ad39c7d1d986b233652193d40">
                     <omgdi:Bounds x="800" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-e09a9626720d90b95eabc78157aabee0" bpmnElement="rid-e09a9626720d90b95eabc78157aabee0">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-4a5f8a2e84a0fb4f6d076a9690c76be2" bpmnElement="rid-4a5f8a2e84a0fb4f6d076a9690c76be2">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-23a00982799d4c150f8b753ff01f7ab3" bpmnElement="rid-23a00982799d4c150f8b753ff01f7ab3">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-6039d7dae0b32bdbc87e6694de77e7bf" bpmnElement="lid-C100-6039d7dae0b32bdbc87e6694de77e7bf">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-708fd32851d5b817c4d19e7e83631fc6" bpmnElement="lid-C200-708fd32851d5b817c4d19e7e83631fc6">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>



