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
<?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-odspmmv2" 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>ibizsample0005s</flowable:string>
</flowable:field>
<flowable:field name="bookingapps_ibizsample0005s">
<flowable:string>Web</flowable:string>
</flowable:field>
<flowable:field name="wfstepfield_ibizsample0005s">
<flowable:string>wfmmstep</flowable:string>
</flowable:field>
<flowable:field name="wfinstfield_ibizsample0005s">
<flowable:string>wfinstanceid</flowable:string>
</flowable:field>
<flowable:field name="udstatefield_ibizsample0005s">
<flowable:string>wfmmstate</flowable:string>
</flowable:field>
<flowable:field name="udstateingval_ibizsample0005s">
<flowable:string>20</flowable:string>
</flowable:field>
<flowable:field name="wfstatefield_ibizsample0005s">
<flowable:string>wfstate</flowable:string>
</flowable:field>
<flowable:field name="wfverfield_ibizsample0005s">
<flowable:string>wfversion</flowable:string>
</flowable:field>
<flowable:field name="majortext_ibizsample0005s">
<flowable:string>ibizsample0005name</flowable:string>
</flowable:field>
<flowable:field name="isvalid"><flowable:string>1</flowable:string></flowable:field>
</extensionElements>
<startEvent id="sid-Start" name="开始流程">
</startEvent>
<endEvent id="sid-End" name="结束">
</endEvent>
<serviceTask id="sid-Process002" name="审核未通过" flowable:expression="${wfCoreService.execute(execution, activedata)}" >
<extensionElements>
<flowable:field name="service-entity"><flowable:string>ibizsample0005s</flowable:string></flowable:field>
<flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
<flowable:field name="params-wfmmstate"><flowable:string>40</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>ibizsample0005s</flowable:string></flowable:field>
<flowable:field name="service-deaction"><flowable:string>update</flowable:string></flowable:field>
<flowable:field name="params-wfmmstate"><flowable:string>30</flowable:string></flowable:field>
</extensionElements>
</serviceTask>
<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="${activedata.createman}" flowable:exclusive="true"
id="tid-20-Interactive002"
name="公司领导审核" >
<documentation>${majortext}</documentation>
</userTask>
<sequenceFlow id="rid-e980d41a5d2737f4ad4361cbe1312fcb" sourceRef="sid-Start" targetRef="tid-10-Interactive001" name="">
</sequenceFlow>
<sequenceFlow id="lid-C100-9c5b3d11db8c2c9463d33e100cf05202" sourceRef="tid-10-Interactive001" targetRef="tid-20-Interactive002" 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>
<sequenceFlow id="rid-56df0cc0f60487986439e23f396d5198" sourceRef="sid-Process002" targetRef="sid-End" name="">
</sequenceFlow>
<sequenceFlow id="rid-8f26b646bf0e4caeb57ecaad8b34c7d2" sourceRef="sid-Process001" targetRef="sid-End" name="">
</sequenceFlow>
<sequenceFlow id="lid-C10-9b1378241ef61ec624667f9a7ebbdaad" sourceRef="tid-20-Interactive002" targetRef="sid-Process001" name="审核通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C10-9b1378241ef61ec624667f9a7ebbdaad"}]]></conditionExpression>
<extensionElements>
<flowable:form nextCondition="ANY" />
</extensionElements>
</sequenceFlow>
<sequenceFlow id="lid-C20-9b1378241ef61ec624667f9a7ebbdaad" sourceRef="tid-20-Interactive002" targetRef="tid-10-Interactive001" name="审核不通过">
<conditionExpression xsi:type="tFormalExpression" ><![CDATA[${sequenceFlowId=="lid-C20-9b1378241ef61ec624667f9a7ebbdaad"}]]></conditionExpression>
<extensionElements>
<flowable:form nextCondition="ANY" />
</extensionElements>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_demo-odspmmv2">
<bpmndi:BPMNPlane id="BPMNPlane_demo-odspmmv2" bpmnElement="demo-odspmmv2">
<bpmndi:BPMNShape id="BPMNShape-sid-Start" bpmnElement="sid-Start">
<omgdi:Bounds x="350" y="40" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-sid-End" bpmnElement="sid-End">
<omgdi:Bounds x="720" y="660" width="30" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-tid-10-Interactive001" bpmnElement="tid-10-Interactive001">
<omgdi:Bounds x="280" y="160" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-sid-Process002" bpmnElement="sid-Process002">
<omgdi:Bounds x="980" y="480" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-sid-Process001" bpmnElement="sid-Process001">
<omgdi:Bounds x="300" y="560" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape-tid-20-Interactive002" bpmnElement="tid-20-Interactive002">
<omgdi:Bounds x="300" y="380" width="100" height="80" />
</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-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: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-rid-8f26b646bf0e4caeb57ecaad8b34c7d2" bpmnElement="rid-8f26b646bf0e4caeb57ecaad8b34c7d2">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C10-9b1378241ef61ec624667f9a7ebbdaad" bpmnElement="lid-C10-9b1378241ef61ec624667f9a7ebbdaad">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge-lid-C20-9b1378241ef61ec624667f9a7ebbdaad" bpmnElement="lid-C20-9b1378241ef61ec624667f9a7ebbdaad">
<omgdi:waypoint x="0" y="0" />
<omgdi:waypoint x="0" y="0" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>