<?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-snv1" isClosed="false" isExecutable="true" name="会签流程 v1" processType="None">

        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="bookings">
                <flowable:string>ibizsample0007s</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0007s">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0007s">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0007s">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0007s">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0007s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0007s">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0007s">
                <flowable:string>ibizsample0007name</flowable:string>
            </flowable:field>
        </extensionElements>

     <endEvent id="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="结束"/>
     <serviceTask id="sid-d257246bfd0f72d5ab15aadfee9b9b74" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0007s</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <startEvent id="sid-3aba621a8b5c04ee4976005266b6b234" name="开始流程"/>
     <userTask flowable:category="${businessKey}"  flowable:candidateUsers="" flowable:exclusive="true" id="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" name="会签" >
        <documentation>${majortext}</documentation>
     </userTask>
     <serviceTask id="sid-0cb73d0fe44353c6b0906f9c68300270" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0007s</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <sequenceFlow id="rid-172fdb600703103809693a1668b57fbb" sourceRef="sid-0cb73d0fe44353c6b0906f9c68300270" targetRef="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="">
     </sequenceFlow>
     <sequenceFlow id="rid-ac8fb1ffa4db7e1eec61aacba1844539" sourceRef="sid-d257246bfd0f72d5ab15aadfee9b9b74" targetRef="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="">
     </sequenceFlow>
     <sequenceFlow id="lid-C100-6dc7f1c1a97eab8bb7e15f58c81c4a67" sourceRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" targetRef="sid-0cb73d0fe44353c6b0906f9c68300270" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-6dc7f1c1a97eab8bb7e15f58c81c4a67"}]]></conditionExpression>
     </sequenceFlow>
     <sequenceFlow id="lid-C200-714db10ddbcdfdf7c0c05b7e3e784745" sourceRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" targetRef="sid-d257246bfd0f72d5ab15aadfee9b9b74" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-714db10ddbcdfdf7c0c05b7e3e784745"}]]></conditionExpression>
     </sequenceFlow>
     <sequenceFlow id="rid-023711ef311c5ffa77a8509092cdcd67" sourceRef="sid-3aba621a8b5c04ee4976005266b6b234" targetRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" name="">
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-snv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-snv1" bpmnElement="demosys-snv1">
                 <bpmndi:BPMNShape id="BPMNShape-2b9a66c764cbcc7d0562dd6dedfdc6fa" bpmnElement="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa">
                     <omgdi:Bounds x="580" y="500" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-d257246bfd0f72d5ab15aadfee9b9b74" bpmnElement="sid-d257246bfd0f72d5ab15aadfee9b9b74">
                     <omgdi:Bounds x="800" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-3aba621a8b5c04ee4976005266b6b234" bpmnElement="sid-3aba621a8b5c04ee4976005266b6b234">
                     <omgdi:Bounds x="395" y="60" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-4a234b4a1763d91cdff3f61cfe5c583d" bpmnElement="tid-10-4a234b4a1763d91cdff3f61cfe5c583d">
                     <omgdi:Bounds x="500" y="200" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-0cb73d0fe44353c6b0906f9c68300270" bpmnElement="sid-0cb73d0fe44353c6b0906f9c68300270">
                     <omgdi:Bounds x="200" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-172fdb600703103809693a1668b57fbb" bpmnElement="rid-172fdb600703103809693a1668b57fbb">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-ac8fb1ffa4db7e1eec61aacba1844539" bpmnElement="rid-ac8fb1ffa4db7e1eec61aacba1844539">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-6dc7f1c1a97eab8bb7e15f58c81c4a67" bpmnElement="lid-C100-6dc7f1c1a97eab8bb7e15f58c81c4a67">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-714db10ddbcdfdf7c0c05b7e3e784745" bpmnElement="lid-C200-714db10ddbcdfdf7c0c05b7e3e784745">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-023711ef311c5ffa77a8509092cdcd67" bpmnElement="rid-023711ef311c5ffa77a8509092cdcd67">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>



