<?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-odspmmv2" isClosed="false" isExecutable="true" name="订单审批(多模式) v2" 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> <startEvent id="sid-e1623bc9add3d96419ed39212b04fc53" name="开始流程"/> <serviceTask id="sid-e3500bfb8f6f106b082562a352b642f8" 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> <endEvent id="sid-ab965dd91ced2c2e616cb9d4f2238fe7" name="结束"/> <userTask flowable:category="${businessKey}" flowable:candidateUsers="" flowable:exclusive="true" id="tid-20-d2a34145a7b5f2949352642cf1278030" name="公司领导审核" > <documentation>${majortext}</documentation> </userTask> <userTask flowable:category="${businessKey}" flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-3ba95ab9317afcd8d20657c857a527af" name="财务经理审核" > <documentation>${majortext}</documentation> </userTask> <serviceTask id="sid-1c87b384e0cf1e9b9b6a55767089564d" 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> <sequenceFlow id="rid-921f3a759a630b1e17fedf309eb87416" sourceRef="sid-e1623bc9add3d96419ed39212b04fc53" targetRef="tid-10-3ba95ab9317afcd8d20657c857a527af" name=""> </sequenceFlow> <sequenceFlow id="lid-C100-7a157d31175823b2dcf8cde030f4c277" sourceRef="tid-10-3ba95ab9317afcd8d20657c857a527af" targetRef="tid-20-d2a34145a7b5f2949352642cf1278030" name="审核通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-7a157d31175823b2dcf8cde030f4c277"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="lid-C200-6f795c14b365d9883e263530faccd5b6" sourceRef="tid-10-3ba95ab9317afcd8d20657c857a527af" targetRef="sid-e3500bfb8f6f106b082562a352b642f8" name="审核不通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-6f795c14b365d9883e263530faccd5b6"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="rid-b36323fec9901b66517d1519394a64c9" sourceRef="sid-e3500bfb8f6f106b082562a352b642f8" targetRef="sid-ab965dd91ced2c2e616cb9d4f2238fe7" name=""> </sequenceFlow> <sequenceFlow id="rid-9b4ad849dacc59f72133adff3616143a" sourceRef="sid-1c87b384e0cf1e9b9b6a55767089564d" targetRef="sid-ab965dd91ced2c2e616cb9d4f2238fe7" name=""> </sequenceFlow> <sequenceFlow id="lid-C10-1ad8ea88e8d69d4571aed8da7efee1b2" sourceRef="tid-20-d2a34145a7b5f2949352642cf1278030" targetRef="sid-1c87b384e0cf1e9b9b6a55767089564d" name="审核通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C10-1ad8ea88e8d69d4571aed8da7efee1b2"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="lid-C20-5b501bb393a9003340879820f57751f3" sourceRef="tid-20-d2a34145a7b5f2949352642cf1278030" targetRef="tid-10-3ba95ab9317afcd8d20657c857a527af" name="审核不通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C20-5b501bb393a9003340879820f57751f3"}]]></conditionExpression> </sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-odspmmv2"> <bpmndi:BPMNPlane id="BPMNPlane_demosys-odspmmv2" bpmnElement="demosys-odspmmv2"> <bpmndi:BPMNShape id="BPMNShape-e1623bc9add3d96419ed39212b04fc53" bpmnElement="sid-e1623bc9add3d96419ed39212b04fc53"> <omgdi:Bounds x="350" y="40" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-e3500bfb8f6f106b082562a352b642f8" bpmnElement="sid-e3500bfb8f6f106b082562a352b642f8"> <omgdi:Bounds x="980" y="480" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-ab965dd91ced2c2e616cb9d4f2238fe7" bpmnElement="sid-ab965dd91ced2c2e616cb9d4f2238fe7"> <omgdi:Bounds x="720" y="660" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-d2a34145a7b5f2949352642cf1278030" bpmnElement="tid-20-d2a34145a7b5f2949352642cf1278030"> <omgdi:Bounds x="300" y="380" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-3ba95ab9317afcd8d20657c857a527af" bpmnElement="tid-10-3ba95ab9317afcd8d20657c857a527af"> <omgdi:Bounds x="280" y="160" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-1c87b384e0cf1e9b9b6a55767089564d" bpmnElement="sid-1c87b384e0cf1e9b9b6a55767089564d"> <omgdi:Bounds x="300" y="560" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="BPMNEdge-rid-921f3a759a630b1e17fedf309eb87416" bpmnElement="rid-921f3a759a630b1e17fedf309eb87416"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-7a157d31175823b2dcf8cde030f4c277" bpmnElement="lid-C100-7a157d31175823b2dcf8cde030f4c277"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-6f795c14b365d9883e263530faccd5b6" bpmnElement="lid-C200-6f795c14b365d9883e263530faccd5b6"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-b36323fec9901b66517d1519394a64c9" bpmnElement="rid-b36323fec9901b66517d1519394a64c9"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-9b4ad849dacc59f72133adff3616143a" bpmnElement="rid-9b4ad849dacc59f72133adff3616143a"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C10-1ad8ea88e8d69d4571aed8da7efee1b2" bpmnElement="lid-C10-1ad8ea88e8d69d4571aed8da7efee1b2"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C20-5b501bb393a9003340879820f57751f3" bpmnElement="lid-C20-5b501bb393a9003340879820f57751f3"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>