SNv1.bpmn 7.3 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-snv1" 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
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="refgroups">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="bookings">
                <flowable:string>ibizsample0007s</flowable:string>
            </flowable:field>    
            <flowable:field name="bookingapps_ibizsample0007s">
                <flowable:string>Web</flowable:string>
            </flowable:field>       

            <flowable:field name="wfstepfield_ibizsample0007s">
                <flowable:string>wfstep</flowable:string>
            </flowable:field>    
            <flowable:field name="wfinstfield_ibizsample0007s">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>    
            <flowable:field name="udstatefield_ibizsample0007s">
                <flowable:string>ywstate</flowable:string>
            </flowable:field>    
            <flowable:field name="udstateingval_ibizsample0007s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0007s">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>    
            <flowable:field name="majortext_ibizsample0007s">
                <flowable:string>ibizsample0007name</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-Process001" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
            <extensionElements>
                <flowable:field name="service-entity"><flowable:string>ibizsample0007s</flowable:string></flowable:field>
                <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
            </extensionElements>
        </serviceTask>
        <serviceTask id="sid-Process002" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
            <extensionElements>
                <flowable:field name="service-entity"><flowable:string>ibizsample0007s</flowable:string></flowable:field>
                <flowable:field name="service-deaction"><flowable:string>update</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>

58
        <sequenceFlow id="rid-8966473b8e09c48b677b30a174702999" sourceRef="sid-Start" targetRef="tid-10-Interactive001" name="">
59
        </sequenceFlow>    
60
        <sequenceFlow id="rid-7cd2df397b56d282bd7578c6b8d9f530" sourceRef="sid-Process001" targetRef="sid-End" name="">
61
        </sequenceFlow>    
62
        <sequenceFlow id="rid-70c943a4a48cd5fb1898ff640bc547e1" sourceRef="sid-Process002" targetRef="sid-End" name="">
63
        </sequenceFlow>    
64 65
        <sequenceFlow id="lid-C100-c48e1424b0d9d8f1862a9aca1a3608fd" sourceRef="tid-10-Interactive001" targetRef="sid-Process001" name="审核通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-c48e1424b0d9d8f1862a9aca1a3608fd"}]]></conditionExpression>
66 67 68 69
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
70 71
        <sequenceFlow id="lid-C200-ed8881f771265557f92059625c9e4c71" sourceRef="tid-10-Interactive001" targetRef="sid-Process002" name="审核不通过">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-ed8881f771265557f92059625c9e4c71"}]]></conditionExpression>
72 73 74 75 76 77
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
    </process>
    
78 79
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-snv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-snv1" bpmnElement="demosys-snv1">
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
            <bpmndi:BPMNShape id="BPMNShape-sid-Start" bpmnElement="sid-Start">
                <omgdi:Bounds x="395" y="60" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-Process001" bpmnElement="sid-Process001">
                <omgdi:Bounds x="200" y="380" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-Process002" bpmnElement="sid-Process002">
                <omgdi:Bounds x="800" y="380" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-10-Interactive001" bpmnElement="tid-10-Interactive001">
                <omgdi:Bounds x="500" y="200" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-End" bpmnElement="sid-End">
                <omgdi:Bounds x="580" y="500" width="30" height="30" />
            </bpmndi:BPMNShape>
95
            <bpmndi:BPMNEdge id="BPMNEdge-rid-8966473b8e09c48b677b30a174702999" bpmnElement="rid-8966473b8e09c48b677b30a174702999">
96 97 98
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
99
            <bpmndi:BPMNEdge id="BPMNEdge-rid-7cd2df397b56d282bd7578c6b8d9f530" bpmnElement="rid-7cd2df397b56d282bd7578c6b8d9f530">
100 101 102
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
103
            <bpmndi:BPMNEdge id="BPMNEdge-rid-70c943a4a48cd5fb1898ff640bc547e1" bpmnElement="rid-70c943a4a48cd5fb1898ff640bc547e1">
104 105 106
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
107
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-c48e1424b0d9d8f1862a9aca1a3608fd" bpmnElement="lid-C100-c48e1424b0d9d8f1862a9aca1a3608fd">
108 109 110
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
111
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-ed8881f771265557f92059625c9e4c71" bpmnElement="lid-C200-ed8881f771265557f92059625c9e4c71">
112 113 114 115 116 117
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>