<?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="trainsys-workflowwfv1" isClosed="false" isExecutable="true" name="测试流程(WorkFlow) v1" processType="None">
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="bookings">
                <flowable:string>workflow</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_workflow">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="bookingmobs_workflow">
                <flowable:string>Mob</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_workflow">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_workflow">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_workflow">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wffinishval_workflow">
                <flowable:string>30</flowable:string>
            </flowable:field>
            <flowable:field name="wfcancelval_workflow">
                <flowable:string>10</flowable:string>
            </flowable:field>
            <flowable:field name="wferrorval_workflow">
                <flowable:string>40</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_workflow">
                <flowable:string>workflowname</flowable:string>
            </flowable:field>
            <flowable:field name="isvalid">
                <flowable:string>1</flowable:string>
            </flowable:field>
        </extensionElements>

    <userTask flowable:category="${businessKey}"   flowable:candidateUsers="${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-用户任务-111cb74e98b02ab1e9500a737674a5d6" name="用户任务">
         <documentation>${majortext}</documentation>
    </userTask>
    <userTask flowable:category="${businessKey}"   flowable:candidateUsers="${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-用户任务-bc2ba09f6a5735bd9d83a9b102873cbc" name="用户任务">
         <documentation>${majortext}</documentation>
    </userTask>
      <sequenceFlow id="lid-IAACTION3-966260485e339fbf37ff5a143323f755" sourceRef="tid-用户任务-bc2ba09f6a5735bd9d83a9b102873cbc" targetRef="tid-用户任务-111cb74e98b02ab1e9500a737674a5d6" name="交互连接">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-IAACTION3-966260485e339fbf37ff5a143323f755"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_trainsys-workflowwfv1">
        <bpmndi:BPMNPlane id="BPMNPlane_trainsys-workflowwfv1" bpmnElement="trainsys-workflowwfv1">
                 <bpmndi:BPMNShape id="BPMNShape-111cb74e98b02ab1e9500a737674a5d6" bpmnElement="tid-用户任务-111cb74e98b02ab1e9500a737674a5d6">
                     <omgdi:Bounds x="630" y="250" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-bc2ba09f6a5735bd9d83a9b102873cbc" bpmnElement="tid-用户任务-bc2ba09f6a5735bd9d83a9b102873cbc">
                     <omgdi:Bounds x="260" y="210" width="100" height="80" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-IAACTION3-966260485e339fbf37ff5a143323f755" bpmnElement="lid-IAACTION3-966260485e339fbf37ff5a143323f755">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>