bpmn-moddle 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -4
- package/resources/bpmn/json/bpmn.json +46 -26
- package/resources/bpmn/json/di.json +21 -1
- package/test/fixtures/bpmn/data-object-reference.bpmn +17 -0
- package/test/fixtures/bpmn/lane-children.bpmn +46 -0
- package/test/fixtures/bpmn/multiInstanceLoopCharacteristics.bpmn +181 -0
- package/test/fixtures/bpmn/participant-interfaceRef.bpmn +20 -0
- package/test/fixtures/bpmn/{complex-no-extensions.bpmn → vendor/signavio-complex-no-extensions.bpmn} +0 -0
- package/test/fixtures/bpmn/{event-definitions-yaoqiang.bpmn → vendor/yaoqiang-event-definitions.bpmn} +0 -0
- package/test/spec/adapter/cmof/generate-simple.js +128 -9
- package/test/spec/xml/edit.js +33 -0
- package/test/spec/xml/read.js +2 -2
- package/test/spec/xml/roundtrip.js +158 -13
- package/test/spec/xml/write.js +292 -41
- package/lib/id-support.js +0 -55
- package/test/spec/id-support.js +0 -97
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# bpmn-moddle
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/bpmn-io/bpmn-moddle)
|
|
3
|
+
[](https://travis-ci.org/bpmn-io/bpmn-moddle)
|
|
4
4
|
|
|
5
5
|
Read and write BPMN 2.0 diagram files in NodeJS and the browser.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpmn-moddle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "A moddle wrapper for BPMN 2.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "grunt test"
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"chai": "^1.9.1",
|
|
31
31
|
"cmof-parser": "^0.1.0",
|
|
32
32
|
"grunt": "^0.4.2",
|
|
33
|
+
"grunt-cli": "^0.1.13",
|
|
33
34
|
"grunt-contrib-jshint": "^0.7.2",
|
|
34
35
|
"grunt-contrib-watch": "^0.5.0",
|
|
35
36
|
"grunt-mocha-test": "^0.11.0",
|
|
36
37
|
"grunt-release": "^0.7.0",
|
|
37
|
-
"ids": "^0.1.1",
|
|
38
38
|
"jsondiffpatch": "^0.1.4",
|
|
39
39
|
"load-grunt-tasks": "^0.3.0",
|
|
40
40
|
"xsd-schema-validator": "^0.3.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"lodash": "^3.0.0",
|
|
44
|
-
"moddle": "^0.
|
|
45
|
-
"moddle-xml": "^0.
|
|
44
|
+
"moddle": "^0.7.0",
|
|
45
|
+
"moddle-xml": "^0.10.0"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"isReference": true
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"name": "
|
|
51
|
+
"name": "errorRef",
|
|
52
52
|
"type": "Error",
|
|
53
53
|
"isMany": true,
|
|
54
54
|
"isReference": true
|
|
@@ -127,6 +127,18 @@
|
|
|
127
127
|
"type": "Property",
|
|
128
128
|
"isMany": true
|
|
129
129
|
},
|
|
130
|
+
{
|
|
131
|
+
"name": "laneSets",
|
|
132
|
+
"type": "LaneSet",
|
|
133
|
+
"isMany": true,
|
|
134
|
+
"replaces": "FlowElementsContainer#laneSets"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "flowElements",
|
|
138
|
+
"type": "FlowElement",
|
|
139
|
+
"isMany": true,
|
|
140
|
+
"replaces": "FlowElementsContainer#flowElements"
|
|
141
|
+
},
|
|
130
142
|
{
|
|
131
143
|
"name": "artifacts",
|
|
132
144
|
"type": "Artifact",
|
|
@@ -190,19 +202,16 @@
|
|
|
190
202
|
"isAttr": true,
|
|
191
203
|
"type": "String"
|
|
192
204
|
},
|
|
193
|
-
{
|
|
194
|
-
"name": "childLaneSet",
|
|
195
|
-
"type": "LaneSet",
|
|
196
|
-
"xml": {
|
|
197
|
-
"serialize": "xsi:type"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
205
|
{
|
|
201
206
|
"name": "partitionElementRef",
|
|
202
207
|
"type": "BaseElement",
|
|
203
208
|
"isAttr": true,
|
|
204
209
|
"isReference": true
|
|
205
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"name": "partitionElement",
|
|
213
|
+
"type": "BaseElement"
|
|
214
|
+
},
|
|
206
215
|
{
|
|
207
216
|
"name": "flowNodeRef",
|
|
208
217
|
"type": "FlowNode",
|
|
@@ -210,8 +219,11 @@
|
|
|
210
219
|
"isReference": true
|
|
211
220
|
},
|
|
212
221
|
{
|
|
213
|
-
"name": "
|
|
214
|
-
"type": "
|
|
222
|
+
"name": "childLaneSet",
|
|
223
|
+
"type": "LaneSet",
|
|
224
|
+
"xml": {
|
|
225
|
+
"serialize": "xsi:type"
|
|
226
|
+
}
|
|
215
227
|
}
|
|
216
228
|
]
|
|
217
229
|
},
|
|
@@ -415,7 +427,8 @@
|
|
|
415
427
|
{
|
|
416
428
|
"name": "id",
|
|
417
429
|
"isAttr": true,
|
|
418
|
-
"type": "String"
|
|
430
|
+
"type": "String",
|
|
431
|
+
"isId": true
|
|
419
432
|
},
|
|
420
433
|
{
|
|
421
434
|
"name": "documentation",
|
|
@@ -606,7 +619,7 @@
|
|
|
606
619
|
"isMany": true
|
|
607
620
|
},
|
|
608
621
|
{
|
|
609
|
-
"name": "
|
|
622
|
+
"name": "eventDefinitionRef",
|
|
610
623
|
"type": "EventDefinition",
|
|
611
624
|
"isMany": true,
|
|
612
625
|
"isReference": true
|
|
@@ -646,7 +659,7 @@
|
|
|
646
659
|
"isMany": true
|
|
647
660
|
},
|
|
648
661
|
{
|
|
649
|
-
"name": "
|
|
662
|
+
"name": "eventDefinitionRef",
|
|
650
663
|
"type": "EventDefinition",
|
|
651
664
|
"isMany": true,
|
|
652
665
|
"isReference": true
|
|
@@ -971,7 +984,7 @@
|
|
|
971
984
|
"type": "Boolean"
|
|
972
985
|
},
|
|
973
986
|
{
|
|
974
|
-
"name": "
|
|
987
|
+
"name": "inputSetRef",
|
|
975
988
|
"type": "InputSet",
|
|
976
989
|
"isVirtual": true,
|
|
977
990
|
"isMany": true,
|
|
@@ -1011,7 +1024,7 @@
|
|
|
1011
1024
|
"type": "Boolean"
|
|
1012
1025
|
},
|
|
1013
1026
|
{
|
|
1014
|
-
"name": "
|
|
1027
|
+
"name": "outputSetRef",
|
|
1015
1028
|
"type": "OutputSet",
|
|
1016
1029
|
"isVirtual": true,
|
|
1017
1030
|
"isMany": true,
|
|
@@ -1680,7 +1693,7 @@
|
|
|
1680
1693
|
}
|
|
1681
1694
|
},
|
|
1682
1695
|
{
|
|
1683
|
-
"name": "
|
|
1696
|
+
"name": "supportedInterfaceRef",
|
|
1684
1697
|
"type": "Interface",
|
|
1685
1698
|
"isMany": true,
|
|
1686
1699
|
"isReference": true
|
|
@@ -1904,7 +1917,7 @@
|
|
|
1904
1917
|
"type": "String"
|
|
1905
1918
|
},
|
|
1906
1919
|
{
|
|
1907
|
-
"name": "
|
|
1920
|
+
"name": "interfaceRef",
|
|
1908
1921
|
"type": "Interface",
|
|
1909
1922
|
"isMany": true,
|
|
1910
1923
|
"isReference": true
|
|
@@ -2379,28 +2392,25 @@
|
|
|
2379
2392
|
{
|
|
2380
2393
|
"name": "loopDataInputRef",
|
|
2381
2394
|
"type": "ItemAwareElement",
|
|
2382
|
-
"isAttr": true,
|
|
2383
2395
|
"isReference": true
|
|
2384
2396
|
},
|
|
2385
2397
|
{
|
|
2386
2398
|
"name": "loopDataOutputRef",
|
|
2387
2399
|
"type": "ItemAwareElement",
|
|
2388
|
-
"isAttr": true,
|
|
2389
2400
|
"isReference": true
|
|
2390
2401
|
},
|
|
2391
2402
|
{
|
|
2392
2403
|
"name": "inputDataItem",
|
|
2393
|
-
"type": "DataInput"
|
|
2404
|
+
"type": "DataInput",
|
|
2405
|
+
"xml": {
|
|
2406
|
+
"serialize": "property"
|
|
2407
|
+
}
|
|
2394
2408
|
},
|
|
2395
2409
|
{
|
|
2396
2410
|
"name": "outputDataItem",
|
|
2397
|
-
"type": "DataOutput"
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"name": "completionCondition",
|
|
2401
|
-
"type": "Expression",
|
|
2411
|
+
"type": "DataOutput",
|
|
2402
2412
|
"xml": {
|
|
2403
|
-
"serialize": "
|
|
2413
|
+
"serialize": "property"
|
|
2404
2414
|
}
|
|
2405
2415
|
},
|
|
2406
2416
|
{
|
|
@@ -2408,6 +2418,13 @@
|
|
|
2408
2418
|
"type": "ComplexBehaviorDefinition",
|
|
2409
2419
|
"isMany": true
|
|
2410
2420
|
},
|
|
2421
|
+
{
|
|
2422
|
+
"name": "completionCondition",
|
|
2423
|
+
"type": "Expression",
|
|
2424
|
+
"xml": {
|
|
2425
|
+
"serialize": "xsi:type"
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2411
2428
|
{
|
|
2412
2429
|
"name": "oneBehaviorEventRef",
|
|
2413
2430
|
"type": "EventDefinition",
|
|
@@ -2702,6 +2719,9 @@
|
|
|
2702
2719
|
"serialize": "xsi:type"
|
|
2703
2720
|
}
|
|
2704
2721
|
}
|
|
2722
|
+
],
|
|
2723
|
+
"superClass": [
|
|
2724
|
+
"BaseElement"
|
|
2705
2725
|
]
|
|
2706
2726
|
},
|
|
2707
2727
|
{
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
"name": "DiagramElement",
|
|
7
7
|
"isAbstract": true,
|
|
8
8
|
"properties": [
|
|
9
|
+
{
|
|
10
|
+
"name": "id",
|
|
11
|
+
"type": "String",
|
|
12
|
+
"isAttr": true,
|
|
13
|
+
"isId": true
|
|
14
|
+
},
|
|
9
15
|
{
|
|
10
16
|
"name": "extension",
|
|
11
17
|
"type": "Extension"
|
|
@@ -90,6 +96,12 @@
|
|
|
90
96
|
"name": "Diagram",
|
|
91
97
|
"isAbstract": true,
|
|
92
98
|
"properties": [
|
|
99
|
+
{
|
|
100
|
+
"name": "id",
|
|
101
|
+
"type": "String",
|
|
102
|
+
"isAttr": true,
|
|
103
|
+
"isId": true
|
|
104
|
+
},
|
|
93
105
|
{
|
|
94
106
|
"name": "rootElement",
|
|
95
107
|
"type": "DiagramElement",
|
|
@@ -197,7 +209,15 @@
|
|
|
197
209
|
},
|
|
198
210
|
{
|
|
199
211
|
"name": "Style",
|
|
200
|
-
"isAbstract": true
|
|
212
|
+
"isAbstract": true,
|
|
213
|
+
"properties": [
|
|
214
|
+
{
|
|
215
|
+
"name": "id",
|
|
216
|
+
"type": "String",
|
|
217
|
+
"isAttr": true,
|
|
218
|
+
"isId": true
|
|
219
|
+
}
|
|
220
|
+
]
|
|
201
221
|
},
|
|
202
222
|
{
|
|
203
223
|
"name": "Extension",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
|
|
3
|
+
<bpmn:process id="Process_1" isExecutable="false">
|
|
4
|
+
<bpmn:dataObjectReference id="DataObjectReference_1" dataObjectRef="DataObject_1" />
|
|
5
|
+
<bpmn:dataObject id="DataObject_1" />
|
|
6
|
+
</bpmn:process>
|
|
7
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
8
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
|
|
9
|
+
<bpmndi:BPMNShape id="DataObjectReference_1_di" bpmnElement="DataObjectReference_1">
|
|
10
|
+
<dc:Bounds x="172" y="135" width="36" height="50" />
|
|
11
|
+
<bpmndi:BPMNLabel>
|
|
12
|
+
<dc:Bounds x="145" y="185" width="90" height="20" />
|
|
13
|
+
</bpmndi:BPMNLabel>
|
|
14
|
+
</bpmndi:BPMNShape>
|
|
15
|
+
</bpmndi:BPMNPlane>
|
|
16
|
+
</bpmndi:BPMNDiagram>
|
|
17
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
|
|
3
|
+
<bpmn:collaboration id="Collaboration_11p5lcv">
|
|
4
|
+
<bpmn:participant id="Participant_1oau7cy" processRef="Process_1" />
|
|
5
|
+
</bpmn:collaboration>
|
|
6
|
+
<bpmn:process id="Process_1" isExecutable="false">
|
|
7
|
+
<bpmn:laneSet>
|
|
8
|
+
<bpmn:lane id="Lane_1sqczlg">
|
|
9
|
+
<bpmn:childLaneSet xsi:type="bpmn:tLaneSet">
|
|
10
|
+
<bpmn:lane id="Lane_0xlzc4w">
|
|
11
|
+
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
|
12
|
+
</bpmn:lane>
|
|
13
|
+
<bpmn:lane id="Lane_1br88d1" />
|
|
14
|
+
</bpmn:childLaneSet>
|
|
15
|
+
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
|
16
|
+
</bpmn:lane>
|
|
17
|
+
<bpmn:lane id="Lane_0temuh8" />
|
|
18
|
+
</bpmn:laneSet>
|
|
19
|
+
<bpmn:startEvent id="StartEvent_1" />
|
|
20
|
+
</bpmn:process>
|
|
21
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
22
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_11p5lcv">
|
|
23
|
+
<bpmndi:BPMNShape id="Participant_1oau7cy_di" bpmnElement="Participant_1oau7cy">
|
|
24
|
+
<dc:Bounds x="123" y="82" width="600" height="250" />
|
|
25
|
+
</bpmndi:BPMNShape>
|
|
26
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
27
|
+
<dc:Bounds x="201" y="96" width="36" height="36" />
|
|
28
|
+
<bpmndi:BPMNLabel>
|
|
29
|
+
<dc:Bounds x="174" y="132" width="90" height="20" />
|
|
30
|
+
</bpmndi:BPMNLabel>
|
|
31
|
+
</bpmndi:BPMNShape>
|
|
32
|
+
<bpmndi:BPMNShape id="Lane_1sqczlg_di" bpmnElement="Lane_1sqczlg">
|
|
33
|
+
<dc:Bounds x="153" y="82" width="570" height="125" />
|
|
34
|
+
</bpmndi:BPMNShape>
|
|
35
|
+
<bpmndi:BPMNShape id="Lane_0temuh8_di" bpmnElement="Lane_0temuh8">
|
|
36
|
+
<dc:Bounds x="153" y="207" width="570" height="125" />
|
|
37
|
+
</bpmndi:BPMNShape>
|
|
38
|
+
<bpmndi:BPMNShape id="Lane_0xlzc4w_di" bpmnElement="Lane_0xlzc4w">
|
|
39
|
+
<dc:Bounds x="183" y="82" width="540" height="63" />
|
|
40
|
+
</bpmndi:BPMNShape>
|
|
41
|
+
<bpmndi:BPMNShape id="Lane_1br88d1_di" bpmnElement="Lane_1br88d1">
|
|
42
|
+
<dc:Bounds x="183" y="145" width="540" height="62" />
|
|
43
|
+
</bpmndi:BPMNShape>
|
|
44
|
+
</bpmndi:BPMNPlane>
|
|
45
|
+
</bpmndi:BPMNDiagram>
|
|
46
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
3
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" expressionLanguage="C#">
|
|
4
|
+
<bpmn:itemDefinition id="TravelOrderItem" structureRef="Composite" />
|
|
5
|
+
<bpmn:itemDefinition id="TravelOrdersItem" structureRef="Table" />
|
|
6
|
+
<bpmn:itemDefinition id="TextField" structureRef="Text"/>
|
|
7
|
+
<bpmn:itemDefinition id="DateField" structureRef="DateTime" />
|
|
8
|
+
<bpmn:itemDefinition id="GetDataInputItem" structureRef="Composite" />
|
|
9
|
+
<bpmn:itemDefinition id="GetDataOutputItem" structureRef="Composite" />
|
|
10
|
+
<bpmn:collaboration id="Collaboration_0f4232i">
|
|
11
|
+
<bpmn:participant id="Participant_1vspv4b" name="Obračun potnih stroškov" processRef="Process"/>
|
|
12
|
+
</bpmn:collaboration>
|
|
13
|
+
<bpmn:message id="GetDataInputMessage" name="GetDataInput" itemRef="GetDataInputItem"/>
|
|
14
|
+
<bpmn:message id="GetDataOutputMessage" name="GetDataOutput" itemRef="GetDataOutputItem"/>
|
|
15
|
+
<bpmn:message id="SaveDataInputMessage" name="SaveDataInput" itemRef="GetDataOutputItem"/>
|
|
16
|
+
<bpmn:interface id="testServiceInterface" name="Test service">
|
|
17
|
+
<bpmn:operation id="getTravelOrdersOperation" name="Get travel orders">
|
|
18
|
+
<bpmn:inMessageRef>GetDataInputMessage</bpmn:inMessageRef>
|
|
19
|
+
<bpmn:outMessageRef>GetDataOutputMessage</bpmn:outMessageRef>
|
|
20
|
+
</bpmn:operation>
|
|
21
|
+
<bpmn:operation id="updateTravelOrdersOperation" name="Update travel orders">
|
|
22
|
+
<bpmn:inMessageRef>SaveDataInputMessage</bpmn:inMessageRef>
|
|
23
|
+
</bpmn:operation>
|
|
24
|
+
</bpmn:interface>
|
|
25
|
+
<bpmn:process id="Process" name="Obračun potnih stroškov" isExecutable="false">
|
|
26
|
+
<bpmn:property id="DateFrom" itemSubjectRef="DateField" name="DateFrom"/>
|
|
27
|
+
<bpmn:property id="DateTo" itemSubjectRef="DateField" name="DateTo"/>
|
|
28
|
+
<bpmn:property id="Process_TravelOrders" itemSubjectRef="TravelOrdersItem" name="TravelOrders"/>
|
|
29
|
+
<bpmn:laneSet>
|
|
30
|
+
<bpmn:lane id="Lane_031mcj4" name="Zaposleni">
|
|
31
|
+
<bpmn:flowNodeRef>GetDataTask</bpmn:flowNodeRef>
|
|
32
|
+
<bpmn:flowNodeRef>SaveDataTask</bpmn:flowNodeRef>
|
|
33
|
+
<bpmn:flowNodeRef>CheckDataTask</bpmn:flowNodeRef>
|
|
34
|
+
<bpmn:flowNodeRef>StartEvent_07ppqwd</bpmn:flowNodeRef>
|
|
35
|
+
</bpmn:lane>
|
|
36
|
+
<bpmn:lane id="Lane_1k2pby1" name="Vodstvo">
|
|
37
|
+
<bpmn:flowNodeRef>EndEvent_09bhhnm</bpmn:flowNodeRef>
|
|
38
|
+
<bpmn:flowNodeRef>InfoTask</bpmn:flowNodeRef>
|
|
39
|
+
</bpmn:lane>
|
|
40
|
+
</bpmn:laneSet>
|
|
41
|
+
<bpmn:sequenceFlow id="SequenceFlow_19mjczs" sourceRef="StartEvent_07ppqwd" targetRef="GetDataTask"/>
|
|
42
|
+
<bpmn:sequenceFlow id="SequenceFlow_155rtvl" sourceRef="CheckDataTask" targetRef="SaveDataTask"/>
|
|
43
|
+
<bpmn:serviceTask id="GetDataTask" name="Dobi potne naloge iz baze" operationRef="getTravelOrdersOperation">
|
|
44
|
+
<bpmn:incoming>SequenceFlow_19mjczs</bpmn:incoming>
|
|
45
|
+
<bpmn:outgoing>SequenceFlow_011pa7g</bpmn:outgoing>
|
|
46
|
+
</bpmn:serviceTask>
|
|
47
|
+
<bpmn:sequenceFlow id="SequenceFlow_011pa7g" sourceRef="GetDataTask" targetRef="CheckDataTask"/>
|
|
48
|
+
<bpmn:serviceTask id="SaveDataTask" name="Shrani popravke v bazo" operationRef="updateTravelOrdersOperation">
|
|
49
|
+
<bpmn:incoming>SequenceFlow_155rtvl</bpmn:incoming>
|
|
50
|
+
<bpmn:outgoing>SequenceFlow_03uzecg</bpmn:outgoing>
|
|
51
|
+
</bpmn:serviceTask>
|
|
52
|
+
<bpmn:sequenceFlow id="SequenceFlow_0dde9jz" sourceRef="InfoTask" targetRef="EndEvent_09bhhnm"/>
|
|
53
|
+
<bpmn:endEvent id="EndEvent_09bhhnm" name="Konec">
|
|
54
|
+
<bpmn:incoming>SequenceFlow_0dde9jz</bpmn:incoming>
|
|
55
|
+
</bpmn:endEvent>
|
|
56
|
+
<bpmn:sequenceFlow id="SequenceFlow_03uzecg" sourceRef="SaveDataTask" targetRef="InfoTask"/>
|
|
57
|
+
<bpmn:userTask id="CheckDataTask" name="Popravki potnih nalogov">
|
|
58
|
+
<bpmn:incoming>SequenceFlow_011pa7g</bpmn:incoming>
|
|
59
|
+
<bpmn:outgoing>SequenceFlow_155rtvl</bpmn:outgoing>
|
|
60
|
+
<bpmn:ioSpecification id="g9sghjg">
|
|
61
|
+
<bpmn:dataInput id="CheckDataTaskInput" isCollection="true" itemSubjectRef="TravelOrdersItem" name="CheckDataTaskLoop.TravelOrders"/>
|
|
62
|
+
<bpmn:dataOutput id="CheckDataTaskOutput" isCollection="true" itemSubjectRef="TravelOrdersItem" name="CheckDataTaskLoop.TravelOrders"/>
|
|
63
|
+
<bpmn:inputSet id="dsagj" name="CheckDataTaskInputSet">
|
|
64
|
+
<bpmn:dataInputRefs>CheckDataTaskInput</bpmn:dataInputRefs>
|
|
65
|
+
</bpmn:inputSet>
|
|
66
|
+
<bpmn:outputSet id="gasgsag" name="CheckDataTaskOutputSet">
|
|
67
|
+
<bpmn:dataOutputRefs>CheckDataTaskOutput</bpmn:dataOutputRefs>
|
|
68
|
+
</bpmn:outputSet>
|
|
69
|
+
</bpmn:ioSpecification>
|
|
70
|
+
<bpmn:property id="CheckDataTask_TravelOrder" itemSubjectRef="TravelOrderItem" name="TravelOrder"/>
|
|
71
|
+
<bpmn:property id="CheckDataTask_TravelOrders" itemSubjectRef="TravelOrdersItem" name="TravelOrders"/>
|
|
72
|
+
<bpmn:dataInputAssociation id="gasg9hsaga">
|
|
73
|
+
<bpmn:sourceRef>Process_TravelOrders</bpmn:sourceRef>
|
|
74
|
+
<bpmn:targetRef>CheckDataTaskInput</bpmn:targetRef>
|
|
75
|
+
</bpmn:dataInputAssociation>
|
|
76
|
+
<bpmn:dataOutputAssociation id="gasg9hsagdsga">
|
|
77
|
+
<bpmn:sourceRef>CheckDataTaskOutput</bpmn:sourceRef>
|
|
78
|
+
<bpmn:targetRef>Process_TravelOrders</bpmn:targetRef>
|
|
79
|
+
</bpmn:dataOutputAssociation>
|
|
80
|
+
<bpmn:humanPerformer id="ID_0396ye8" name="CheckDataResource">
|
|
81
|
+
<bpmn:resourceAssignmentExpression id="ID_00ufxmy">
|
|
82
|
+
<bpmn:expression xsi:type="bpmn:tFormalExpression" id="ID_01xo5kk" language="C#" evaluatesToTypeRef="TextField">var.CheckDataTask.TravelOrder.UserName</bpmn:expression>
|
|
83
|
+
</bpmn:resourceAssignmentExpression>
|
|
84
|
+
</bpmn:humanPerformer>
|
|
85
|
+
<bpmn:multiInstanceLoopCharacteristics id="g9sdgh0sd" isSequential="false">
|
|
86
|
+
<bpmn:loopDataInputRef>CheckDataTaskInput</bpmn:loopDataInputRef>
|
|
87
|
+
<bpmn:loopDataOutputRef>CheckDataTaskOutput</bpmn:loopDataOutputRef>
|
|
88
|
+
<bpmn:inputDataItem id="LoopInstanceInput" isCollection="false" itemSubjectRef="TravelOrderItem" name="CheckDataTask.TravelOrder"/>
|
|
89
|
+
<bpmn:outputDataItem id="LoopInstanceOutput" isCollection="false" itemSubjectRef="TravelOrderItem" name="CheckDataTask.TravelOrder"/>
|
|
90
|
+
</bpmn:multiInstanceLoopCharacteristics>
|
|
91
|
+
</bpmn:userTask>
|
|
92
|
+
<bpmn:startEvent id="StartEvent_07ppqwd" name="Start">
|
|
93
|
+
<bpmn:outgoing>SequenceFlow_19mjczs</bpmn:outgoing>
|
|
94
|
+
</bpmn:startEvent>
|
|
95
|
+
<bpmn:userTask id="InfoTask" name="Obvestilo nadrejenemu">
|
|
96
|
+
<bpmn:incoming>SequenceFlow_03uzecg</bpmn:incoming>
|
|
97
|
+
<bpmn:outgoing>SequenceFlow_0dde9jz</bpmn:outgoing>
|
|
98
|
+
<bpmn:potentialOwner id="gas9gsa">
|
|
99
|
+
<bpmn:resourceAssignmentExpression id="g9hgshninhpsd">
|
|
100
|
+
<bpmn:expression xsi:type="bpmn:tFormalExpression" id="ID_0jfg1xo5kk" language="C#" evaluatesToTypeRef="TextField"><![CDATA["Nadzornik - potni nalogi"]]></bpmn:expression>
|
|
101
|
+
</bpmn:resourceAssignmentExpression>
|
|
102
|
+
</bpmn:potentialOwner>
|
|
103
|
+
</bpmn:userTask>
|
|
104
|
+
</bpmn:process>
|
|
105
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
106
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0f4232i">
|
|
107
|
+
<bpmndi:BPMNShape id="Participant_1vspv4b_di" bpmnElement="Participant_1vspv4b">
|
|
108
|
+
<dc:Bounds x="118" y="90" width="922" height="499"/>
|
|
109
|
+
</bpmndi:BPMNShape>
|
|
110
|
+
<bpmndi:BPMNEdge id="SequenceFlow_19mjczs_di" bpmnElement="SequenceFlow_19mjczs">
|
|
111
|
+
<di:waypoint xsi:type="dc:Point" x="234" y="215"/>
|
|
112
|
+
<di:waypoint xsi:type="dc:Point" x="271" y="215"/>
|
|
113
|
+
<di:waypoint xsi:type="dc:Point" x="271" y="215"/>
|
|
114
|
+
<di:waypoint xsi:type="dc:Point" x="308" y="215"/>
|
|
115
|
+
<bpmndi:BPMNLabel>
|
|
116
|
+
<dc:Bounds x="199" y="205" width="90" height="20"/>
|
|
117
|
+
</bpmndi:BPMNLabel>
|
|
118
|
+
</bpmndi:BPMNEdge>
|
|
119
|
+
<bpmndi:BPMNShape id="Lane_031mcj4_di" bpmnElement="Lane_031mcj4">
|
|
120
|
+
<dc:Bounds x="148" y="90" width="892" height="248"/>
|
|
121
|
+
</bpmndi:BPMNShape>
|
|
122
|
+
<bpmndi:BPMNShape id="Lane_1k2pby1_di" bpmnElement="Lane_1k2pby1">
|
|
123
|
+
<dc:Bounds x="148" y="338" width="892" height="251"/>
|
|
124
|
+
</bpmndi:BPMNShape>
|
|
125
|
+
<bpmndi:BPMNShape id="ServiceTask_1l60ojj_di" bpmnElement="GetDataTask">
|
|
126
|
+
<dc:Bounds x="308" y="175" width="100" height="80"/>
|
|
127
|
+
</bpmndi:BPMNShape>
|
|
128
|
+
<bpmndi:BPMNShape id="EndEvent_09bhhnm_di" bpmnElement="EndEvent_09bhhnm">
|
|
129
|
+
<dc:Bounds x="896" y="438" width="36" height="36"/>
|
|
130
|
+
<bpmndi:BPMNLabel>
|
|
131
|
+
<dc:Bounds x="869" y="474" width="90" height="20"/>
|
|
132
|
+
</bpmndi:BPMNLabel>
|
|
133
|
+
</bpmndi:BPMNShape>
|
|
134
|
+
<bpmndi:BPMNShape id="UserTask_1u1r0p4_di" bpmnElement="CheckDataTask">
|
|
135
|
+
<dc:Bounds x="501" y="175" width="100" height="80"/>
|
|
136
|
+
</bpmndi:BPMNShape>
|
|
137
|
+
<bpmndi:BPMNEdge id="SequenceFlow_155rtvl_di" bpmnElement="SequenceFlow_155rtvl">
|
|
138
|
+
<di:waypoint xsi:type="dc:Point" x="601" y="215"/>
|
|
139
|
+
<di:waypoint xsi:type="dc:Point" x="687" y="215"/>
|
|
140
|
+
<bpmndi:BPMNLabel>
|
|
141
|
+
<dc:Bounds x="554.5" y="444" width="90" height="20"/>
|
|
142
|
+
</bpmndi:BPMNLabel>
|
|
143
|
+
</bpmndi:BPMNEdge>
|
|
144
|
+
<bpmndi:BPMNShape id="ServiceTask_0jpwr74_di" bpmnElement="SaveDataTask">
|
|
145
|
+
<dc:Bounds x="687" y="175" width="100" height="80"/>
|
|
146
|
+
</bpmndi:BPMNShape>
|
|
147
|
+
<bpmndi:BPMNEdge id="SequenceFlow_011pa7g_di" bpmnElement="SequenceFlow_011pa7g">
|
|
148
|
+
<di:waypoint xsi:type="dc:Point" x="408" y="215"/>
|
|
149
|
+
<di:waypoint xsi:type="dc:Point" x="501" y="215"/>
|
|
150
|
+
<bpmndi:BPMNLabel>
|
|
151
|
+
<dc:Bounds x="411" y="205" width="90" height="20"/>
|
|
152
|
+
</bpmndi:BPMNLabel>
|
|
153
|
+
</bpmndi:BPMNEdge>
|
|
154
|
+
<bpmndi:BPMNEdge id="SequenceFlow_0dde9jz_di" bpmnElement="SequenceFlow_0dde9jz">
|
|
155
|
+
<di:waypoint xsi:type="dc:Point" x="787" y="456"/>
|
|
156
|
+
<di:waypoint xsi:type="dc:Point" x="838" y="456"/>
|
|
157
|
+
<di:waypoint xsi:type="dc:Point" x="838" y="456"/>
|
|
158
|
+
<di:waypoint xsi:type="dc:Point" x="896" y="456"/>
|
|
159
|
+
<bpmndi:BPMNLabel>
|
|
160
|
+
<dc:Bounds x="793" y="325.5" width="90" height="20"/>
|
|
161
|
+
</bpmndi:BPMNLabel>
|
|
162
|
+
</bpmndi:BPMNEdge>
|
|
163
|
+
<bpmndi:BPMNEdge id="SequenceFlow_03uzecg_di" bpmnElement="SequenceFlow_03uzecg">
|
|
164
|
+
<di:waypoint xsi:type="dc:Point" x="737" y="255"/>
|
|
165
|
+
<di:waypoint xsi:type="dc:Point" x="737" y="416"/>
|
|
166
|
+
<bpmndi:BPMNLabel>
|
|
167
|
+
<dc:Bounds x="692" y="325.5" width="90" height="20"/>
|
|
168
|
+
</bpmndi:BPMNLabel>
|
|
169
|
+
</bpmndi:BPMNEdge>
|
|
170
|
+
<bpmndi:BPMNShape id="StartEvent_07ppqwd_di" bpmnElement="StartEvent_07ppqwd">
|
|
171
|
+
<dc:Bounds x="198" y="197" width="36" height="36"/>
|
|
172
|
+
<bpmndi:BPMNLabel>
|
|
173
|
+
<dc:Bounds x="171" y="233" width="90" height="20"/>
|
|
174
|
+
</bpmndi:BPMNLabel>
|
|
175
|
+
</bpmndi:BPMNShape>
|
|
176
|
+
<bpmndi:BPMNShape id="UserTask_1dmthn1_di" bpmnElement="InfoTask">
|
|
177
|
+
<dc:Bounds x="687" y="416" width="100" height="80"/>
|
|
178
|
+
</bpmndi:BPMNShape>
|
|
179
|
+
</bpmndi:BPMNPlane>
|
|
180
|
+
</bpmndi:BPMNDiagram>
|
|
181
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
2
|
+
targetNamespace="http://bpmn.io/bpmn">
|
|
3
|
+
<bpmn:message id="Message_In" />
|
|
4
|
+
<bpmn:message id="Message_Out" />
|
|
5
|
+
<bpmn:error id="BarError" />
|
|
6
|
+
<bpmn:error id="OtherError" />
|
|
7
|
+
<bpmn:interface id="Interface_1" name="foobar">
|
|
8
|
+
<bpmn:operation name="foo">
|
|
9
|
+
<bpmn:inMessageRef>Message_In</bpmn:inMessageRef>
|
|
10
|
+
<bpmn:outMessageRef>Message_Out</bpmn:outMessageRef>
|
|
11
|
+
<bpmn:errorRef>BarError</bpmn:errorRef>
|
|
12
|
+
<bpmn:errorRef>OtherError</bpmn:errorRef>
|
|
13
|
+
</bpmn:operation>
|
|
14
|
+
</bpmn:interface>
|
|
15
|
+
<bpmn:collaboration>
|
|
16
|
+
<bpmn:participant id="Process_1">
|
|
17
|
+
<bpmn:interfaceRef>Interface_1</bpmn:interfaceRef>
|
|
18
|
+
</bpmn:participant>
|
|
19
|
+
</bpmn:collaboration>
|
|
20
|
+
</bpmn:definitions>
|
package/test/fixtures/bpmn/{complex-no-extensions.bpmn → vendor/signavio-complex-no-extensions.bpmn}
RENAMED
|
File without changes
|
|
File without changes
|