<?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-odspmvv2" isClosed="false" isExecutable="true" name="订单审批(多版本) v2" processType="None"> <extensionElements> <flowable:eventListener delegateExpression="${processInstanceListener}" /> <flowable:field name="bookings"> <flowable:string>ibizsample0004s</flowable:string> </flowable:field> <flowable:field name="bookingapps_ibizsample0004s"> <flowable:string>Web</flowable:string> </flowable:field> <flowable:field name="wfstepfield_ibizsample0004s"> <flowable:string>wfmvstep</flowable:string> </flowable:field> <flowable:field name="wfinstfield_ibizsample0004s"> <flowable:string>wfinstanceid</flowable:string> </flowable:field> <flowable:field name="udstatefield_ibizsample0004s"> <flowable:string>wfmvstate</flowable:string> </flowable:field> <flowable:field name="udstateingval_ibizsample0004s"> <flowable:string>20</flowable:string> </flowable:field> <flowable:field name="wfstatefield_ibizsample0004s"> <flowable:string>wfstate</flowable:string> </flowable:field> <flowable:field name="wfverfield_ibizsample0004s"> <flowable:string>wfversion</flowable:string> </flowable:field> <flowable:field name="majortext_ibizsample0004s"> <flowable:string>ibizsample0004name</flowable:string> </flowable:field> </extensionElements> <serviceTask id="sid-95f15ef4a720b9fd06ed60acd64621d4" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" > <extensionElements> <flowable:field name="service-entity"><flowable:string>ibizsample0004s</flowable:string></flowable:field> <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field> <flowable:field name="params-wfmvstate"><flowable:string>40</flowable:string></flowable:field> </extensionElements> </serviceTask> <userTask flowable:category="${businessKey}" flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-93958c235c57c659ee1166d06b5bebb1" name="财务经理审核" > <documentation>${majortext}</documentation> </userTask> <serviceTask id="sid-9fb4fe62e6c0a011d090efc9d2f08184" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" > <extensionElements> <flowable:field name="service-entity"><flowable:string>ibizsample0004s</flowable:string></flowable:field> <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field> <flowable:field name="params-wfmvstate"><flowable:string>30</flowable:string></flowable:field> </extensionElements> </serviceTask> <startEvent id="sid-aff16e6297aac5cb0666e83cacd58a19" name="开始流程"/> <endEvent id="sid-f0a14a06c82baa38c67c8341ff416c9f" name="结束"/> <sequenceFlow id="rid-0ff99b2960e94d5ff53d0981d3e9d9b1" sourceRef="sid-aff16e6297aac5cb0666e83cacd58a19" targetRef="tid-10-93958c235c57c659ee1166d06b5bebb1" name=""> </sequenceFlow> <sequenceFlow id="rid-0e08b149c088b6c9a48b8ba61fa221b8" sourceRef="sid-9fb4fe62e6c0a011d090efc9d2f08184" targetRef="sid-f0a14a06c82baa38c67c8341ff416c9f" name=""> </sequenceFlow> <sequenceFlow id="rid-e34a78343dfed63c6ffaa5c5d8de1184" sourceRef="sid-95f15ef4a720b9fd06ed60acd64621d4" targetRef="sid-f0a14a06c82baa38c67c8341ff416c9f" name=""> </sequenceFlow> <sequenceFlow id="lid-C100-ebd35c36408af530a5de0b872944842f" sourceRef="tid-10-93958c235c57c659ee1166d06b5bebb1" targetRef="sid-9fb4fe62e6c0a011d090efc9d2f08184" name="同意"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-ebd35c36408af530a5de0b872944842f"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="lid-C200-ecb2ece5a736b871935f91d8e45412eb" sourceRef="tid-10-93958c235c57c659ee1166d06b5bebb1" targetRef="sid-95f15ef4a720b9fd06ed60acd64621d4" name="不同意"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-ecb2ece5a736b871935f91d8e45412eb"}]]></conditionExpression> </sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-odspmvv2"> <bpmndi:BPMNPlane id="BPMNPlane_demosys-odspmvv2" bpmnElement="demosys-odspmvv2"> <bpmndi:BPMNShape id="BPMNShape-95f15ef4a720b9fd06ed60acd64621d4" bpmnElement="sid-95f15ef4a720b9fd06ed60acd64621d4"> <omgdi:Bounds x="800" y="380" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-93958c235c57c659ee1166d06b5bebb1" bpmnElement="tid-10-93958c235c57c659ee1166d06b5bebb1"> <omgdi:Bounds x="500" y="200" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-9fb4fe62e6c0a011d090efc9d2f08184" bpmnElement="sid-9fb4fe62e6c0a011d090efc9d2f08184"> <omgdi:Bounds x="200" y="380" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-aff16e6297aac5cb0666e83cacd58a19" bpmnElement="sid-aff16e6297aac5cb0666e83cacd58a19"> <omgdi:Bounds x="395" y="60" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-f0a14a06c82baa38c67c8341ff416c9f" bpmnElement="sid-f0a14a06c82baa38c67c8341ff416c9f"> <omgdi:Bounds x="580" y="500" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="BPMNEdge-rid-0ff99b2960e94d5ff53d0981d3e9d9b1" bpmnElement="rid-0ff99b2960e94d5ff53d0981d3e9d9b1"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-0e08b149c088b6c9a48b8ba61fa221b8" bpmnElement="rid-0e08b149c088b6c9a48b8ba61fa221b8"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-e34a78343dfed63c6ffaa5c5d8de1184" bpmnElement="rid-e34a78343dfed63c6ffaa5c5d8de1184"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-ebd35c36408af530a5de0b872944842f" bpmnElement="lid-C100-ebd35c36408af530a5de0b872944842f"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-ecb2ece5a736b871935f91d8e45412eb" bpmnElement="lid-C200-ecb2ece5a736b871935f91d8e45412eb"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>