<?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>ibizsample0007</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0007">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0007">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0007">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0007">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0007">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wffinishval_ibizsample0007">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wferrorval_ibizsample0007">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0007">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0007">
                <flowable:string>ibizsample0007name</flowable:string>
            </flowable:field>
            <flowable:field name="isvalid">
                <flowable:string>1</flowable:string>
            </flowable:field>
        </extensionElements>

     <startEvent id="sid-3aba621a8b5c04ee4976005266b6b234" name="开始流程">
     </startEvent>
     <serviceTask id="sid-0cb73d0fe44353c6b0906f9c68300270" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0007</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <serviceTask id="sid-d257246bfd0f72d5ab15aadfee9b9b74" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0007</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
    <userTask flowable:category="${businessKey}"   flowable:candidateUsers="${activedata.createman},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" name="会签">
         <documentation>${majortext}</documentation>
    </userTask>
     <endEvent id="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="结束">
     </endEvent>
      <sequenceFlow id="rid-cf46c82b6f0240db32312f252b02ff45" sourceRef="sid-3aba621a8b5c04ee4976005266b6b234" targetRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" name="">
     </sequenceFlow>
      <sequenceFlow id="rid-13502c3662f942cb79b829051435fdd4" sourceRef="sid-0cb73d0fe44353c6b0906f9c68300270" targetRef="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="">
     </sequenceFlow>
      <sequenceFlow id="rid-b081d8d4379b901d7c1fe5338113d602" sourceRef="sid-d257246bfd0f72d5ab15aadfee9b9b74" targetRef="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa" name="">
     </sequenceFlow>
      <sequenceFlow id="lid-C100-dfaf36ea413214a8315d4e95204f8167" sourceRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" targetRef="sid-0cb73d0fe44353c6b0906f9c68300270" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-dfaf36ea413214a8315d4e95204f8167"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
      <sequenceFlow id="lid-C200-0a771eb987102cb68243cc6d58f80179" sourceRef="tid-10-4a234b4a1763d91cdff3f61cfe5c583d" targetRef="sid-d257246bfd0f72d5ab15aadfee9b9b74" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-0a771eb987102cb68243cc6d58f80179"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-snv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-snv1" bpmnElement="demosys-snv1">
                 <bpmndi:BPMNShape id="BPMNShape-3aba621a8b5c04ee4976005266b6b234" bpmnElement="sid-3aba621a8b5c04ee4976005266b6b234">
                     <omgdi:Bounds x="395" y="60" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-0cb73d0fe44353c6b0906f9c68300270" bpmnElement="sid-0cb73d0fe44353c6b0906f9c68300270">
                     <omgdi:Bounds x="200" y="380" width="100" height="80" />
                 </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-4a234b4a1763d91cdff3f61cfe5c583d" bpmnElement="tid-10-4a234b4a1763d91cdff3f61cfe5c583d">
                     <omgdi:Bounds x="500" y="200" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-2b9a66c764cbcc7d0562dd6dedfdc6fa" bpmnElement="sid-2b9a66c764cbcc7d0562dd6dedfdc6fa">
                     <omgdi:Bounds x="580" y="500" width="30" height="30" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-cf46c82b6f0240db32312f252b02ff45" bpmnElement="rid-cf46c82b6f0240db32312f252b02ff45">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-13502c3662f942cb79b829051435fdd4" bpmnElement="rid-13502c3662f942cb79b829051435fdd4">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-b081d8d4379b901d7c1fe5338113d602" bpmnElement="rid-b081d8d4379b901d7c1fe5338113d602">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-dfaf36ea413214a8315d4e95204f8167" bpmnElement="lid-C100-dfaf36ea413214a8315d4e95204f8167">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-0a771eb987102cb68243cc6d58f80179" bpmnElement="lid-C200-0a771eb987102cb68243cc6d58f80179">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>