ODSPMVv1.json.bpmn 8.4 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
<?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="demosys-odspmvv1" isClosed="false" isExecutable="true" name="订单审批(多版本) v1" processType="None">
        <extensionElements>
            <flowable:eventListener delegateExpression="${processInstanceListener}"  />
            <flowable:field name="bookings">
                <flowable:string>ibizsample0004</flowable:string>
            </flowable:field>
            <flowable:field name="bookingapps_ibizsample0004">
                <flowable:string>Web</flowable:string>
            </flowable:field>
            <flowable:field name="wfstepfield_ibizsample0004">
                <flowable:string>wfmvstep</flowable:string>
            </flowable:field>
            <flowable:field name="wfinstfield_ibizsample0004">
                <flowable:string>wfinstanceid</flowable:string>
            </flowable:field>
            <flowable:field name="udstatefield_ibizsample0004">
                <flowable:string>wfmvstate</flowable:string>
            </flowable:field>
            <flowable:field name="udstateingval_ibizsample0004">
                <flowable:string>20</flowable:string>
            </flowable:field>
            <flowable:field name="wffinishval_ibizsample0004">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wferrorval_ibizsample0004">
                <flowable:string></flowable:string>
            </flowable:field>
            <flowable:field name="wfstatefield_ibizsample0004">
                <flowable:string>wfstate</flowable:string>
            </flowable:field>
            <flowable:field name="wfverfield_ibizsample0004">
                <flowable:string>wfversion</flowable:string>
            </flowable:field>
            <flowable:field name="majortext_ibizsample0004">
                <flowable:string>ibizsample0004name</flowable:string>
            </flowable:field>
            <flowable:field name="isvalid">
                <flowable:string>1</flowable:string>
            </flowable:field>
        </extensionElements>

     <startEvent id="sid-07be98dc15fdf9a206caee3f5f0cf6e8" name="开始流程">
     </startEvent>
     <serviceTask id="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" name="审核通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0004</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
        <flowable:field name="params-wfmvstate"><flowable:string>30</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
53
    <userTask flowable:category="${businessKey}"   flowable:candidateUsers="${activedata.createman},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-10-601f637f445d84b56c8100e94e255214" name="财务经理审核">
54
         <documentation>${majortext}</documentation>
55
    </userTask>
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
     <serviceTask id="sid-19c6d189e55e21a965fb71ceeb4df0e3" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
         <extensionElements>
         <flowable:field name="service-entity"><flowable:string>ibizsample0004</flowable:string></flowable:field>
         <flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
        <flowable:field name="params-wfmvstate"><flowable:string>40</flowable:string></flowable:field>
         </extensionElements>
     </serviceTask>
     <endEvent id="sid-b2794949c200a2b5b02ec7522a7a2676" name="结束">
     </endEvent>
      <sequenceFlow id="rid-5fc0cc506e1fbc6202a803eb390d5c58" sourceRef="sid-07be98dc15fdf9a206caee3f5f0cf6e8" targetRef="tid-10-601f637f445d84b56c8100e94e255214" name="">
     </sequenceFlow>
      <sequenceFlow id="rid-02e70d1d9059e673320d54e74d08baeb" sourceRef="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" targetRef="sid-b2794949c200a2b5b02ec7522a7a2676" name="">
     </sequenceFlow>
      <sequenceFlow id="lid-C100-16f37e2fe995b2d17744b56e64480983" sourceRef="tid-10-601f637f445d84b56c8100e94e255214" targetRef="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a" name="审核通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C100-16f37e2fe995b2d17744b56e64480983"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
      <sequenceFlow id="lid-C200-939038a613226ca154f55013e7011123" sourceRef="tid-10-601f637f445d84b56c8100e94e255214" targetRef="sid-19c6d189e55e21a965fb71ceeb4df0e3" name="审核不通过">
        <conditionExpression  xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C200-939038a613226ca154f55013e7011123"}]]></conditionExpression>
         <extensionElements>
             <flowable:form nextCondition="ANY"  />
         </extensionElements>
     </sequenceFlow>
      <sequenceFlow id="rid-e82dbc85f6f168ea5a0fb70a0bc92d20" sourceRef="sid-19c6d189e55e21a965fb71ceeb4df0e3" targetRef="sid-b2794949c200a2b5b02ec7522a7a2676" name="">
     </sequenceFlow>
    </process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_demosys-odspmvv1">
        <bpmndi:BPMNPlane id="BPMNPlane_demosys-odspmvv1" bpmnElement="demosys-odspmvv1">
                 <bpmndi:BPMNShape id="BPMNShape-07be98dc15fdf9a206caee3f5f0cf6e8" bpmnElement="sid-07be98dc15fdf9a206caee3f5f0cf6e8">
                     <omgdi:Bounds x="395" y="60" width="30" height="30" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-fd0a0fd97308d04b2e2ed0e1ceaf087a" bpmnElement="sid-fd0a0fd97308d04b2e2ed0e1ceaf087a">
                     <omgdi:Bounds x="200" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-601f637f445d84b56c8100e94e255214" bpmnElement="tid-10-601f637f445d84b56c8100e94e255214">
                     <omgdi:Bounds x="500" y="200" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-19c6d189e55e21a965fb71ceeb4df0e3" bpmnElement="sid-19c6d189e55e21a965fb71ceeb4df0e3">
                     <omgdi:Bounds x="800" y="380" width="100" height="80" />
                 </bpmndi:BPMNShape>
                 <bpmndi:BPMNShape id="BPMNShape-b2794949c200a2b5b02ec7522a7a2676" bpmnElement="sid-b2794949c200a2b5b02ec7522a7a2676">
                     <omgdi:Bounds x="580" y="500" width="30" height="30" />
                 </bpmndi:BPMNShape>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-5fc0cc506e1fbc6202a803eb390d5c58" bpmnElement="rid-5fc0cc506e1fbc6202a803eb390d5c58">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-02e70d1d9059e673320d54e74d08baeb" bpmnElement="rid-02e70d1d9059e673320d54e74d08baeb">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C100-16f37e2fe995b2d17744b56e64480983" bpmnElement="lid-C100-16f37e2fe995b2d17744b56e64480983">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-lid-C200-939038a613226ca154f55013e7011123" bpmnElement="lid-C200-939038a613226ca154f55013e7011123">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
               <bpmndi:BPMNEdge id="BPMNEdge-rid-e82dbc85f6f168ea5a0fb70a0bc92d20" bpmnElement="rid-e82dbc85f6f168ea5a0fb70a0bc92d20">
                   <omgdi:waypoint x="0" y="0" />
                   <omgdi:waypoint x="0" y="0" />
               </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</definitions>