MNv1.bpmn 8.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
<?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="demo-mnv1" isClosed="false" isExecutable="true" name="发文流程 v1" processType="None">
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="refgroups">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="bookings">
                <flowable:string>ibizsample0006s</flowable:string>
            </flowable:field>    
            <flowable:field name="bookingapps_ibizsample0006s">
                <flowable:string>Web</flowable:string>
            </flowable:field>       

            <flowable:field name="wfstepfield_ibizsample0006s">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>    
            <flowable:field name="wfinstfield_ibizsample0006s">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>    
            <flowable:field name="udstatefield_ibizsample0006s">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>    
            <flowable:field name="udstateingval_ibizsample0006s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0006s">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>    
            <flowable:field name="wfverfield_ibizsample0006s">
                <flowable:string>wfversion</flowable:string>
            </flowable:field>    
            <flowable:field name="majortext_ibizsample0006s">
                <flowable:string>ibizsample0006name</flowable:string>
            </flowable:field>    
            <flowable:field name="isvalid"><flowable:string>1</flowable:string></flowable:field>
        </extensionElements>
        <startEvent id="sid-Start" name="开始流程">
        </startEvent>
        <serviceTask id="sid-Process002" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
            <extensionElements>
                <flowable:field name="service-entity"><flowable:string></flowable:string></flowable:field>
                <flowable:field name="service-deaction"><flowable:string></flowable:string></flowable:field>
            </extensionElements>
        </serviceTask>
        <serviceTask id="sid-Process001" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
            <extensionElements>
                <flowable:field name="service-entity"><flowable:string></flowable:string></flowable:field>
                <flowable:field name="service-deaction"><flowable:string></flowable:string></flowable:field>
            </extensionElements>
        </serviceTask>
        <endEvent id="sid-End" name="结束">
        </endEvent>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" 
         id="tid-10-Interactive001" 
         name="部门领导审核" >
            <documentation>${majortext}</documentation>
        </userTask>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="" flowable:exclusive="true" 
         id="tid-20-Embed001" 
         name="部门会签" flowable:formKey="EMBED">
            <documentation>${majortext}</documentation>
        </userTask>

        <sequenceFlow id="rid-e980d41a5d2737f4ad4361cbe1312fcb" sourceRef="sid-Start" targetRef="tid-10-Interactive001" name="">
        </sequenceFlow>    
        <sequenceFlow id="rid-56df0cc0f60487986439e23f396d5198" sourceRef="sid-Process002" targetRef="sid-End" name="">
        </sequenceFlow>    
        <sequenceFlow id="lid-C100-9c5b3d11db8c2c9463d33e100cf05202" sourceRef="tid-10-Interactive001" targetRef="tid-20-Embed001" name="审核通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-9c5b3d11db8c2c9463d33e100cf05202"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C200-9c5b3d11db8c2c9463d33e100cf05202" sourceRef="tid-10-Interactive001" targetRef="sid-Process002" name="审核不通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-9c5b3d11db8c2c9463d33e100cf05202"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="rid-8f26b646bf0e4caeb57ecaad8b34c7d2" sourceRef="sid-Process001" targetRef="sid-End" name="">
        </sequenceFlow>    
        <sequenceFlow id="lid-30-58465b5783cbc7a06bbdacc20f72301c" sourceRef="tid-20-Embed001" targetRef="sid-Process001" name="">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-30-58465b5783cbc7a06bbdacc20f72301c"}]]></conditionExpression>
        </sequenceFlow>    
    </process>
    
    <bpmndi:BPMNDiagram id="BPMNDiagram_demo-mnv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demo-mnv1" bpmnElement="demo-mnv1">
            <bpmndi:BPMNShape id="BPMNShape-sid-Start" bpmnElement="sid-Start">
                <omgdi:Bounds x="280" y="30" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-Process002" bpmnElement="sid-Process002">
                <omgdi:Bounds x="860" y="480" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-10-Interactive001" bpmnElement="tid-10-Interactive001">
                <omgdi:Bounds x="600" y="100" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-Process001" bpmnElement="sid-Process001">
                <omgdi:Bounds x="120" y="480" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-End" bpmnElement="sid-End">
                <omgdi:Bounds x="580" y="580" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-20-Embed001" bpmnElement="tid-20-Embed001">
                <omgdi:Bounds x="120" y="280" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-e980d41a5d2737f4ad4361cbe1312fcb" bpmnElement="rid-e980d41a5d2737f4ad4361cbe1312fcb">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-56df0cc0f60487986439e23f396d5198" bpmnElement="rid-56df0cc0f60487986439e23f396d5198">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-9c5b3d11db8c2c9463d33e100cf05202" bpmnElement="lid-C100-9c5b3d11db8c2c9463d33e100cf05202">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-9c5b3d11db8c2c9463d33e100cf05202" bpmnElement="lid-C200-9c5b3d11db8c2c9463d33e100cf05202">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-8f26b646bf0e4caeb57ecaad8b34c7d2" bpmnElement="rid-8f26b646bf0e4caeb57ecaad8b34c7d2">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-30-58465b5783cbc7a06bbdacc20f72301c" bpmnElement="lid-30-58465b5783cbc7a06bbdacc20f72301c">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>