<?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-odspmvv1" isClosed="false" isExecutable="true" name="订单审批(多版本) v1" 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> <endEvent id="sid-b2794949c200a2b5b02ec7522a7a2676" name="结束"/> <serviceTask id="sid-19c6d189e55e21a965fb71ceeb4df0e3" 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> <serviceTask id="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" 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-07be98dc15fdf9a206caee3f5f0cf6e8" name="开始流程"/> <userTask flowable:category="${businessKey}" flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-601f637f445d84b56c8100e94e255214" name="财务经理审核" > <documentation>${majortext}</documentation> </userTask> <sequenceFlow id="rid-794043c0df83fa270a81a8b5a0a3cf6f" sourceRef="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" targetRef="sid-b2794949c200a2b5b02ec7522a7a2676" name=""> </sequenceFlow> <sequenceFlow id="lid-C100-008ffed5e3c71d4080691b6ec19479a3" sourceRef="tid-10-601f637f445d84b56c8100e94e255214" targetRef="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" name="审核通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-008ffed5e3c71d4080691b6ec19479a3"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="lid-C200-7cc4f8a48c1c7c29ed5b5d5d91899ccc" sourceRef="tid-10-601f637f445d84b56c8100e94e255214" targetRef="sid-19c6d189e55e21a965fb71ceeb4df0e3" name="审核不通过"> <conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-7cc4f8a48c1c7c29ed5b5d5d91899ccc"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="rid-7cee5d90df4ec43c1f1c5f8f9e92f971" sourceRef="sid-07be98dc15fdf9a206caee3f5f0cf6e8" targetRef="tid-10-601f637f445d84b56c8100e94e255214" name=""> </sequenceFlow> <sequenceFlow id="rid-3288ef65e78e63f3aaabbdfaf2f5d60c" sourceRef="sid-19c6d189e55e21a965fb71ceeb4df0e3" targetRef="sid-b2794949c200a2b5b02ec7522a7a2676" name=""> </sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-odspmvv1"> <bpmndi:BPMNPlane id="BPMNPlane_demosys-odspmvv1" bpmnElement="demosys-odspmvv1"> <bpmndi:BPMNShape id="BPMNShape-b2794949c200a2b5b02ec7522a7a2676" bpmnElement="sid-b2794949c200a2b5b02ec7522a7a2676"> <omgdi:Bounds x="580" y="500" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-19c6d189e55e21a965fb71ceeb4df0e3" bpmnElement="sid-19c6d189e55e21a965fb71ceeb4df0e3"> <omgdi:Bounds x="800" y="380" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-fd0a0fd97308d04b2e2ed0e1ceaf087a" bpmnElement="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a"> <omgdi:Bounds x="200" y="380" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-07be98dc15fdf9a206caee3f5f0cf6e8" bpmnElement="sid-07be98dc15fdf9a206caee3f5f0cf6e8"> <omgdi:Bounds x="395" y="60" width="30" height="30" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="BPMNShape-601f637f445d84b56c8100e94e255214" bpmnElement="tid-10-601f637f445d84b56c8100e94e255214"> <omgdi:Bounds x="500" y="200" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="BPMNEdge-rid-794043c0df83fa270a81a8b5a0a3cf6f" bpmnElement="rid-794043c0df83fa270a81a8b5a0a3cf6f"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-008ffed5e3c71d4080691b6ec19479a3" bpmnElement="lid-C100-008ffed5e3c71d4080691b6ec19479a3"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-7cc4f8a48c1c7c29ed5b5d5d91899ccc" bpmnElement="lid-C200-7cc4f8a48c1c7c29ed5b5d5d91899ccc"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-7cee5d90df4ec43c1f1c5f8f9e92f971" bpmnElement="rid-7cee5d90df4ec43c1f1c5f8f9e92f971"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="BPMNEdge-rid-3288ef65e78e63f3aaabbdfaf2f5d60c" bpmnElement="rid-3288ef65e78e63f3aaabbdfaf2f5d60c"> <omgdi:waypoint x="0" y="0" /> <omgdi:waypoint x="0" y="0" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>