ACTv1.bpmn 14.8 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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
<?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-actv1" isClosed="false" isExecutable="true" name="订单审批 v1" processType="None">
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="refgroups">
                <flowable:string>GeneralManager|总经理|USERGROUP,FinancialDirector|财务总监|USERGROUP,DepartmentHeads|部门领导|USERGROUP,FinancialManager|财务经理|USERGROUP</flowable:string>
            </flowable:field>
            <flowable:field name="bookings">
                <flowable:string>ibizsample0021s</flowable:string>
            </flowable:field>    
            <flowable:field name="bookingapps_ibizsample0021s">
                <flowable:string>Web</flowable:string>
            </flowable:field>       

            <flowable:field name="udstatefield_ibizsample0021s">
                <flowable:string>orderstate</flowable:string>
            </flowable:field>    
            <flowable:field name="udstateingval_ibizsample0021s">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0021s">
                <flowable:string>ibizsample0021name</flowable:string>
            </flowable:field>    
            <flowable:field name="isvalid"><flowable:string>1</flowable:string></flowable:field>
        </extensionElements>
        <startEvent id="sid-Start001" name="开始">
        </startEvent>
        <exclusiveGateway id="sid-Exclusivegateway001"/>
        <endEvent id="sid-End002" name="结束">
        </endEvent>
        <endEvent id="sid-End001" name="结束">
        </endEvent>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${wfCoreService.getGroupUsers('GeneralManager|org|CURORGID',execution)}" flowable:exclusive="true" 
         id="tid-20-Interactive003" 
         name="总经理审核" >
            <documentation>${majortext}</documentation>
        </userTask>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${wfCoreService.getGroupUsers('FinancialDirector|org|CURORGID',execution)}" flowable:exclusive="true" 
         id="tid-30-Interactive004" 
         name="财务总监审批" >
            <documentation>${majortext}</documentation>
        </userTask>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${wfCoreService.getGroupUsers('DepartmentHeads|dept|CURDEPTID',execution)}" flowable:exclusive="true" 
         id="tid-5-Interactive001" 
         name="部门经理审核" >
            <documentation>${majortext}</documentation>
            <extensionElements>
                <flowable:form procfunc="sendback;addstepbefore;sendcopy;reassign" process-form="Main2"  /> 
            </extensionElements>
        </userTask>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${wfCoreService.getGroupUsers('FinancialManager|org|CURORGID',execution)}" flowable:exclusive="true" 
         id="tid-10-Interactive002" 
         name="财务经理审核" >
            <documentation>${majortext}</documentation>
            <extensionElements>
                <flowable:form procfunc="sendback;reassign" /> 
            </extensionElements>
        </userTask>
        <userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true" 
         id="tid-1-Interactive005" 
         name="发起人调整" >
            <documentation>${majortext}</documentation>
        </userTask>

        <sequenceFlow id="rid-43a8de1b889469d5a93d32e61034242a" sourceRef="sid-Start001" targetRef="tid-5-Interactive001" name="">
        </sequenceFlow>    
        <sequenceFlow id="lid-C69-0176b046c5abb0bc00d917110cc54b01" sourceRef="tid-20-Interactive003" targetRef="tid-1-Interactive005" name="不同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C69-0176b046c5abb0bc00d917110cc54b01"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C40-0176b046c5abb0bc00d917110cc54b01" sourceRef="tid-20-Interactive003" targetRef="tid-30-Interactive004" name="同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C40-0176b046c5abb0bc00d917110cc54b01"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="rid-035b9e55e8bd2b41a537173dec02f2af" sourceRef="sid-Exclusivegateway001" targetRef="sid-End001" name="">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${((wfCoreService.test(activedata.amount, 'SINGLE', '10000')))} ]]></conditionExpression>
        </sequenceFlow>    
        <sequenceFlow id="rid-035b9e55e8bd2b41a537173dec02f2af" sourceRef="sid-Exclusivegateway001" targetRef="tid-20-Interactive003" name="">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${((wfCoreService.test(activedata.amount, 'SINGLE', '10000')))} ]]></conditionExpression>
        </sequenceFlow>    
        <sequenceFlow id="lid-C41-40cbc31a457f2046613c2816d36730ae" sourceRef="tid-30-Interactive004" targetRef="sid-End001" name="完成">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C41-40cbc31a457f2046613c2816d36730ae"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C22-40cbc31a457f2046613c2816d36730ae" sourceRef="tid-30-Interactive004" targetRef="tid-1-Interactive005" name="不同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C22-40cbc31a457f2046613c2816d36730ae"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C61-c3aa2b65061d7d7a336da8f1abf60321" sourceRef="tid-5-Interactive001" targetRef="tid-10-Interactive002" name="同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C61-c3aa2b65061d7d7a336da8f1abf60321"}]]></conditionExpression>
            <extensionElements>
                <flowable:form sequenceFlowForm="approvedForm"  sequenceFlowView="WFDynaActionView"  nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C70-c3aa2b65061d7d7a336da8f1abf60321" sourceRef="tid-5-Interactive001" targetRef="tid-1-Interactive005" name="不同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C70-c3aa2b65061d7d7a336da8f1abf60321"}]]></conditionExpression>
            <extensionElements>
                <flowable:form sequenceFlowForm="refuseForm"  sequenceFlowView="WFDynaActionView"  nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C52-26f1114aef1dcb82aee300afddac8c6e" sourceRef="tid-10-Interactive002" targetRef="sid-Exclusivegateway001" name="同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C52-26f1114aef1dcb82aee300afddac8c6e"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C28-26f1114aef1dcb82aee300afddac8c6e" sourceRef="tid-10-Interactive002" targetRef="tid-1-Interactive005" name="不同意">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C28-26f1114aef1dcb82aee300afddac8c6e"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C49-d09f88c9113cfa09490a7f62e0d5b949" sourceRef="tid-1-Interactive005" targetRef="tid-5-Interactive001" name="重新提交">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C49-d09f88c9113cfa09490a7f62e0d5b949"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
        <sequenceFlow id="lid-C96-d09f88c9113cfa09490a7f62e0d5b949" sourceRef="tid-1-Interactive005" targetRef="sid-End002" name="取消">
            <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C96-d09f88c9113cfa09490a7f62e0d5b949"}]]></conditionExpression>
            <extensionElements>
                <flowable:form nextCondition="ANY"  /> 
            </extensionElements>    
        </sequenceFlow>    
    </process>
    
    <bpmndi:BPMNDiagram id="BPMNDiagram_demo-actv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demo-actv1" bpmnElement="demo-actv1">
            <bpmndi:BPMNShape id="BPMNShape-sid-Start001" bpmnElement="sid-Start001">
                <omgdi:Bounds x="15" y="55" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-20-Interactive003" bpmnElement="tid-20-Interactive003">
                <omgdi:Bounds x="555" y="195" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-Exclusivegateway001" bpmnElement="sid-Exclusivegateway001">
                <omgdi:Bounds x="585" y="50" width="40" height="40" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-30-Interactive004" bpmnElement="tid-30-Interactive004">
                <omgdi:Bounds x="555" y="360" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-5-Interactive001" bpmnElement="tid-5-Interactive001">
                <omgdi:Bounds x="150" y="15" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-End002" bpmnElement="sid-End002">
                <omgdi:Bounds x="186" y="389" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-10-Interactive002" bpmnElement="tid-10-Interactive002">
                <omgdi:Bounds x="360" y="30" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-sid-End001" bpmnElement="sid-End001">
                <omgdi:Bounds x="780" y="221" width="30" height="30" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="BPMNShape-tid-1-Interactive005" bpmnElement="tid-1-Interactive005">
                <omgdi:Bounds x="150" y="195" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-43a8de1b889469d5a93d32e61034242a" bpmnElement="rid-43a8de1b889469d5a93d32e61034242a">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C69-0176b046c5abb0bc00d917110cc54b01" bpmnElement="lid-C69-0176b046c5abb0bc00d917110cc54b01">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C40-0176b046c5abb0bc00d917110cc54b01" bpmnElement="lid-C40-0176b046c5abb0bc00d917110cc54b01">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-035b9e55e8bd2b41a537173dec02f2af" bpmnElement="rid-035b9e55e8bd2b41a537173dec02f2af">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-rid-035b9e55e8bd2b41a537173dec02f2af" bpmnElement="rid-035b9e55e8bd2b41a537173dec02f2af">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C41-40cbc31a457f2046613c2816d36730ae" bpmnElement="lid-C41-40cbc31a457f2046613c2816d36730ae">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C22-40cbc31a457f2046613c2816d36730ae" bpmnElement="lid-C22-40cbc31a457f2046613c2816d36730ae">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C61-c3aa2b65061d7d7a336da8f1abf60321" bpmnElement="lid-C61-c3aa2b65061d7d7a336da8f1abf60321">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C70-c3aa2b65061d7d7a336da8f1abf60321" bpmnElement="lid-C70-c3aa2b65061d7d7a336da8f1abf60321">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C52-26f1114aef1dcb82aee300afddac8c6e" bpmnElement="lid-C52-26f1114aef1dcb82aee300afddac8c6e">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C28-26f1114aef1dcb82aee300afddac8c6e" bpmnElement="lid-C28-26f1114aef1dcb82aee300afddac8c6e">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C49-d09f88c9113cfa09490a7f62e0d5b949" bpmnElement="lid-C49-d09f88c9113cfa09490a7f62e0d5b949">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="BPMNEdge-lid-C96-d09f88c9113cfa09490a7f62e0d5b949" bpmnElement="lid-C96-d09f88c9113cfa09490a7f62e0d5b949">
                <omgdi:waypoint x="0" y="0" />
                <omgdi:waypoint x="0" y="0" />
            </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>