MNv1.bpmn 8.5 KB
Newer Older
1 2
<?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">
3
    <process id="demosys-mnv1" isClosed="false" isExecutable="true" name="发文流程 v1" processType="None">
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
        <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>

66
        <sequenceFlow id="rid-8966473b8e09c48b677b30a174702999" sourceRef="sid-Start" targetRef="tid-10-Interactive001" name="">
67
        </sequenceFlow>    
68
        <sequenceFlow id="rid-70c943a4a48cd5fb1898ff640bc547e1" sourceRef="sid-Process002" targetRef="sid-End" name="">
69
        </sequenceFlow>    
70 71
        <sequenceFlow id="lid-C100-ef39fa347eb9531319ed592d07d3e5ea" sourceRef="tid-10-Interactive001" targetRef="tid-20-Embed001" name="审核通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-ef39fa347eb9531319ed592d07d3e5ea"}]]></conditionExpression>
72 73 74 75
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
76 77
        <sequenceFlow id="lid-C200-ed8881f771265557f92059625c9e4c71" sourceRef="tid-10-Interactive001" targetRef="sid-Process002" name="审核不通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-ed8881f771265557f92059625c9e4c71"}]]></conditionExpression>
78 79 80 81
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
82
        <sequenceFlow id="rid-7cd2df397b56d282bd7578c6b8d9f530" sourceRef="sid-Process001" targetRef="sid-End" name="">
83
        </sequenceFlow>    
84 85
        <sequenceFlow id="lid-30-6463a25005e0bfa3219760661758502a" sourceRef="tid-20-Embed001" targetRef="sid-Process001" name="">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-30-6463a25005e0bfa3219760661758502a"}]]></conditionExpression>
86 87 88
        </sequenceFlow>    
    </process>
    
89 90
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-mnv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-mnv1" bpmnElement="demosys-mnv1">
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
            <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>
109
            <bpmndi:BPMNEdge id="BPMNEdge-rid-8966473b8e09c48b677b30a174702999" bpmnElement="rid-8966473b8e09c48b677b30a174702999">
110 111 112
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
113
            <bpmndi:BPMNEdge id="BPMNEdge-rid-70c943a4a48cd5fb1898ff640bc547e1" bpmnElement="rid-70c943a4a48cd5fb1898ff640bc547e1">
114 115 116
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
117
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-ef39fa347eb9531319ed592d07d3e5ea" bpmnElement="lid-C100-ef39fa347eb9531319ed592d07d3e5ea">
118 119 120
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
121
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-ed8881f771265557f92059625c9e4c71" bpmnElement="lid-C200-ed8881f771265557f92059625c9e4c71">
122 123 124
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
125
            <bpmndi:BPMNEdge id="BPMNEdge-rid-7cd2df397b56d282bd7578c6b8d9f530" bpmnElement="rid-7cd2df397b56d282bd7578c6b8d9f530">
126 127 128
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
129
            <bpmndi:BPMNEdge id="BPMNEdge-lid-30-6463a25005e0bfa3219760661758502a" bpmnElement="lid-30-6463a25005e0bfa3219760661758502a">
130 131 132 133 134 135
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>