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
<?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-odspmvv2" isClosed="false" isExecutable="true" name="订单审批(多版本) v2" processType="None">
<extensionElements>
<flowable:eventListener delegateExpression="${processInstanceListener}" />
<flowable:field name="refgroups">
<flowable:string></flowable:string>
</flowable:field>
<flowable:field name="bookings">
<flowable:string>ibizsample0004s</flowable:string>
</flowable:field>
<flowable:field name="bookingapps_ibizsample0004s">
<flowable:string>Web</flowable:string>
</flowable:field>
<flowable:field name="wfstepfield_ibizsample0004s">
<flowable:string>wfmvstep</flowable:string>
</flowable:field>
<flowable:field name="wfinstfield_ibizsample0004s">
<flowable:string>wfinstanceid</flowable:string>
</flowable:field>
<flowable:field name="udstatefield_ibizsample0004s">
<flowable:string>wfmvstate</flowable:string>
</flowable:field>
<flowable:field name="udstateingval_ibizsample0004s">
<flowable:string>20</flowable:string>
</flowable:field>
<flowable:field name="wfstatefield_ibizsample0004s">
<flowable:string>wfstate</flowable:string>
</flowable:field>
<flowable:field name="wfverfield_ibizsample0004s">
<flowable:string>wfversion</flowable:string>
</flowable:field>
<flowable:field name="majortext_ibizsample0004s">
<flowable:string>ibizsample0004name</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>ibizsample0004s</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>
<serviceTask id="sid-Process002" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
<extensionElements>
<flowable:field name="service-entity"><flowable:string>ibizsample0004s</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-End" name="结束">
</endEvent>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman}" flowable:exclusive="true"
id="tid-10-Interactive001"
name="财务经理审核" >
<documentation>${majortext}</documentation>
</userTask>
<sequenceFlow id="rid-e980d41a5d2737f4ad4361cbe1312fcb" sourceRef="sid-Start" targetRef="tid-10-Interactive001" name="">
</sequenceFlow>
<sequenceFlow id="rid-8f26b646bf0e4caeb57ecaad8b34c7d2" sourceRef="sid-Process001" targetRef="sid-End" name="">
</sequenceFlow>
<sequenceFlow id="rid-56df0cc0f60487986439e23f396d5198" sourceRef="sid-Process002" targetRef="sid-End" name="">
</sequenceFlow>
<sequenceFlow id="lid-C100-9c5b3d11db8c2c9463d33e100cf05202" sourceRef="tid-10-Interactive001" targetRef="sid-Process001" 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>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_demo-odspmvv2">
<bpmndi:BPMNPlane id="BPMNPlane_demo-odspmvv2" bpmnElement="demo-odspmvv2">
<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>
<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-8f26b646bf0e4caeb57ecaad8b34c7d2" bpmnElement="rid-8f26b646bf0e4caeb57ecaad8b34c7d2">
<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:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>