<?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-lpv1" isClosed="false" isExecutable="true" name="自循环流程 v1" processType="None">
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="refgroups">
                <flowable:string>WFNextPerson|下一步处理人|CUSTOM</flowable:string>
            </flowable:field>
            <flowable:field name="bookings">
                <flowable:string>ibizsample0008</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0008">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0008">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0008">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0008">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0008">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wffinishval_ibizsample0008">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wferrorval_ibizsample0008">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0008">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0008">
                <flowable:string>ibizsample0008name</flowable:string>
            </flowable:field>
            <flowable:field name="isvalid">
                <flowable:string>1</flowable:string>
            </flowable:field>
        </extensionElements>

     <startEvent id="sid-80401b74a1d2e4105b09bb43bf96dea1" name="开始流程">
     </startEvent>
     <endEvent id="sid-0acfc4a7bd69ca12b9243415d8c1fd60" name="结束">
     </endEvent>
     <serviceTask id="sid-9c374f416d53c13c15e0a5a7618c7ebe" name="审核不通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         </extensionElements>
     </serviceTask>
     <serviceTask id="sid-7bab8b67e638cea4307ee8470da10a33" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         </extensionElements>
     </serviceTask>
     <userTask flowable:category="${businessKey}"   flowable:candidateUsers="${wfCoreService.getGroupUsers('WFNextPerson',execution)},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-10-62f9c5a5ec0f7b98d815a63b61f50903" name="内部会签" >
         <documentation>${majortext}</documentation>
     </userTask>
      <sequenceFlow id="rid-8f379f0e33ea1da342bac574daea728c" sourceRef="sid-80401b74a1d2e4105b09bb43bf96dea1" targetRef="tid-10-62f9c5a5ec0f7b98d815a63b61f50903" name="">
     </sequenceFlow>
      <sequenceFlow id="rid-d3aef652a725ebd332d97e6b9db906b2" sourceRef="sid-9c374f416d53c13c15e0a5a7618c7ebe" targetRef="sid-0acfc4a7bd69ca12b9243415d8c1fd60" name="">
     </sequenceFlow>
      <sequenceFlow id="rid-ed1564048ba8f153256176ea10e3de77" sourceRef="sid-7bab8b67e638cea4307ee8470da10a33" targetRef="sid-0acfc4a7bd69ca12b9243415d8c1fd60" name="">
     </sequenceFlow>
      <sequenceFlow id="lid-C10-41092e3b25b0f114bc624ba6a50c4ed0" sourceRef="tid-10-62f9c5a5ec0f7b98d815a63b61f50903" targetRef="sid-7bab8b67e638cea4307ee8470da10a33" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C10-41092e3b25b0f114bc624ba6a50c4ed0"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
      <sequenceFlow id="lid-C20-4fd979f445b58bb34496674fb46cba5f" sourceRef="tid-10-62f9c5a5ec0f7b98d815a63b61f50903" targetRef="sid-9c374f416d53c13c15e0a5a7618c7ebe" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C20-4fd979f445b58bb34496674fb46cba5f"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-lpv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-lpv1" bpmnElement="demosys-lpv1">
                 <bpmndi:BPMNShape id="BPMNShape-80401b74a1d2e4105b09bb43bf96dea1" bpmnElement="sid-80401b74a1d2e4105b09bb43bf96dea1">
                     <omgdi:Bounds x="395" y="40" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-0acfc4a7bd69ca12b9243415d8c1fd60" bpmnElement="sid-0acfc4a7bd69ca12b9243415d8c1fd60">
                     <omgdi:Bounds x="380" y="480" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-9c374f416d53c13c15e0a5a7618c7ebe" bpmnElement="sid-9c374f416d53c13c15e0a5a7618c7ebe">
                     <omgdi:Bounds x="580" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-7bab8b67e638cea4307ee8470da10a33" bpmnElement="sid-7bab8b67e638cea4307ee8470da10a33">
                     <omgdi:Bounds x="60" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-62f9c5a5ec0f7b98d815a63b61f50903" bpmnElement="tid-10-62f9c5a5ec0f7b98d815a63b61f50903">
                     <omgdi:Bounds x="320" y="200" width="100" height="80" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-8f379f0e33ea1da342bac574daea728c" bpmnElement="rid-8f379f0e33ea1da342bac574daea728c">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-d3aef652a725ebd332d97e6b9db906b2" bpmnElement="rid-d3aef652a725ebd332d97e6b9db906b2">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-ed1564048ba8f153256176ea10e3de77" bpmnElement="rid-ed1564048ba8f153256176ea10e3de77">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C10-41092e3b25b0f114bc624ba6a50c4ed0" bpmnElement="lid-C10-41092e3b25b0f114bc624ba6a50c4ed0">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C20-4fd979f445b58bb34496674fb46cba5f" bpmnElement="lid-C20-4fd979f445b58bb34496674fb46cba5f">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>